@memberjunction/ng-core-entity-forms 5.1.0 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/dist/lib/custom/AIAgents/FlowAgentType/flow-agent-form-section.component.js.map +1 -1
  2. package/dist/lib/custom/AIAgents/agent-advanced-settings-dialog.component.js +4 -4
  3. package/dist/lib/custom/AIAgents/agent-advanced-settings-dialog.component.js.map +1 -1
  4. package/dist/lib/custom/AIAgents/ai-agent-form.component.d.ts +18 -18
  5. package/dist/lib/custom/AIAgents/ai-agent-form.component.d.ts.map +1 -1
  6. package/dist/lib/custom/AIAgents/ai-agent-form.component.js +309 -309
  7. package/dist/lib/custom/AIAgents/ai-agent-form.component.js.map +1 -1
  8. package/dist/lib/custom/AIAgents/ai-agent-management.service.d.ts +9 -9
  9. package/dist/lib/custom/AIAgents/ai-agent-management.service.d.ts.map +1 -1
  10. package/dist/lib/custom/AIAgents/ai-agent-management.service.js.map +1 -1
  11. package/dist/lib/custom/AIAgents/create-prompt-dialog.component.d.ts +3 -3
  12. package/dist/lib/custom/AIAgents/create-prompt-dialog.component.d.ts.map +1 -1
  13. package/dist/lib/custom/AIAgents/create-prompt-dialog.component.js.map +1 -1
  14. package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.d.ts +8 -8
  15. package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.d.ts.map +1 -1
  16. package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.js +1 -1
  17. package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.js.map +1 -1
  18. package/dist/lib/custom/AIAgents/new-agent-dialog.component.d.ts +2 -2
  19. package/dist/lib/custom/AIAgents/new-agent-dialog.component.d.ts.map +1 -1
  20. package/dist/lib/custom/AIAgents/new-agent-dialog.component.js.map +1 -1
  21. package/dist/lib/custom/AIAgents/new-agent-dialog.service.d.ts +2 -2
  22. package/dist/lib/custom/AIAgents/new-agent-dialog.service.d.ts.map +1 -1
  23. package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.d.ts +10 -10
  24. package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.d.ts.map +1 -1
  25. package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.js.map +1 -1
  26. package/dist/lib/custom/AIAgents/sub-agent-advanced-settings-dialog.component.d.ts +3 -3
  27. package/dist/lib/custom/AIAgents/sub-agent-advanced-settings-dialog.component.d.ts.map +1 -1
  28. package/dist/lib/custom/AIAgents/sub-agent-advanced-settings-dialog.component.js.map +1 -1
  29. package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.d.ts +3 -3
  30. package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.d.ts.map +1 -1
  31. package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.js +1 -1
  32. package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.js.map +1 -1
  33. package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.d.ts +8 -8
  34. package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.d.ts.map +1 -1
  35. package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.js +225 -225
  36. package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.js.map +1 -1
  37. package/dist/lib/custom/AIPrompts/ai-prompt-form.component.d.ts +7 -7
  38. package/dist/lib/custom/AIPrompts/ai-prompt-form.component.d.ts.map +1 -1
  39. package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js +259 -259
  40. package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js.map +1 -1
  41. package/dist/lib/custom/Actions/action-execution-log-form.component.d.ts +3 -3
  42. package/dist/lib/custom/Actions/action-execution-log-form.component.d.ts.map +1 -1
  43. package/dist/lib/custom/Actions/action-execution-log-form.component.js +48 -48
  44. package/dist/lib/custom/Actions/action-execution-log-form.component.js.map +1 -1
  45. package/dist/lib/custom/Actions/action-form.component.d.ts +4 -4
  46. package/dist/lib/custom/Actions/action-form.component.d.ts.map +1 -1
  47. package/dist/lib/custom/Actions/action-form.component.js +164 -164
  48. package/dist/lib/custom/Actions/action-form.component.js.map +1 -1
  49. package/dist/lib/custom/Entities/entity-form.component.d.ts +3 -3
  50. package/dist/lib/custom/Entities/entity-form.component.d.ts.map +1 -1
  51. package/dist/lib/custom/Entities/entity-form.component.js +299 -299
  52. package/dist/lib/custom/Entities/entity-form.component.js.map +1 -1
  53. package/dist/lib/custom/EntityActions/entityaction.form.component.d.ts +3 -3
  54. package/dist/lib/custom/EntityActions/entityaction.form.component.d.ts.map +1 -1
  55. package/dist/lib/custom/EntityActions/entityaction.form.component.js +11 -11
  56. package/dist/lib/custom/EntityActions/entityaction.form.component.js.map +1 -1
  57. package/dist/lib/custom/Lists/list-form.component.d.ts +8 -8
  58. package/dist/lib/custom/Lists/list-form.component.d.ts.map +1 -1
  59. package/dist/lib/custom/Lists/list-form.component.js +163 -163
  60. package/dist/lib/custom/Lists/list-form.component.js.map +1 -1
  61. package/dist/lib/custom/Queries/query-form.component.d.ts +3 -3
  62. package/dist/lib/custom/Queries/query-form.component.d.ts.map +1 -1
  63. package/dist/lib/custom/Queries/query-form.component.js +175 -184
  64. package/dist/lib/custom/Queries/query-form.component.js.map +1 -1
  65. package/dist/lib/custom/Queries/query-run-dialog.component.d.ts +1 -0
  66. package/dist/lib/custom/Queries/query-run-dialog.component.d.ts.map +1 -1
  67. package/dist/lib/custom/Queries/query-run-dialog.component.js +3 -1
  68. package/dist/lib/custom/Queries/query-run-dialog.component.js.map +1 -1
  69. package/dist/lib/custom/Templates/templates-form.component.d.ts +3 -3
  70. package/dist/lib/custom/Templates/templates-form.component.d.ts.map +1 -1
  71. package/dist/lib/custom/Templates/templates-form.component.js +53 -53
  72. package/dist/lib/custom/Templates/templates-form.component.js.map +1 -1
  73. package/dist/lib/custom/Tests/test-form.component.d.ts +3 -3
  74. package/dist/lib/custom/Tests/test-form.component.d.ts.map +1 -1
  75. package/dist/lib/custom/Tests/test-form.component.js +161 -161
  76. package/dist/lib/custom/Tests/test-form.component.js.map +1 -1
  77. package/dist/lib/custom/Tests/test-rubric-form.component.d.ts +3 -3
  78. package/dist/lib/custom/Tests/test-rubric-form.component.d.ts.map +1 -1
  79. package/dist/lib/custom/Tests/test-rubric-form.component.js +12 -12
  80. package/dist/lib/custom/Tests/test-rubric-form.component.js.map +1 -1
  81. package/dist/lib/custom/Tests/test-run-feedback-form.component.d.ts +3 -3
  82. package/dist/lib/custom/Tests/test-run-feedback-form.component.d.ts.map +1 -1
  83. package/dist/lib/custom/Tests/test-run-feedback-form.component.js +14 -14
  84. package/dist/lib/custom/Tests/test-run-feedback-form.component.js.map +1 -1
  85. package/dist/lib/custom/Tests/test-run-form.component.d.ts +3 -3
  86. package/dist/lib/custom/Tests/test-run-form.component.d.ts.map +1 -1
  87. package/dist/lib/custom/Tests/test-run-form.component.js +140 -140
  88. package/dist/lib/custom/Tests/test-run-form.component.js.map +1 -1
  89. package/dist/lib/custom/Tests/test-suite-form.component.d.ts +3 -3
  90. package/dist/lib/custom/Tests/test-suite-form.component.d.ts.map +1 -1
  91. package/dist/lib/custom/Tests/test-suite-form.component.js +243 -243
  92. package/dist/lib/custom/Tests/test-suite-form.component.js.map +1 -1
  93. package/dist/lib/custom/Tests/test-suite-run-form.component.d.ts +3 -3
  94. package/dist/lib/custom/Tests/test-suite-run-form.component.d.ts.map +1 -1
  95. package/dist/lib/custom/Tests/test-suite-run-form.component.js +213 -213
  96. package/dist/lib/custom/Tests/test-suite-run-form.component.js.map +1 -1
  97. package/dist/lib/custom/ai-agent-run/ai-agent-run.component.d.ts +6 -6
  98. package/dist/lib/custom/ai-agent-run/ai-agent-run.component.d.ts.map +1 -1
  99. package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js +148 -148
  100. package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js.map +1 -1
  101. package/dist/lib/custom/custom-forms.module.d.ts +1 -1
  102. package/dist/lib/custom/custom-forms.module.js +85 -85
  103. package/dist/lib/custom/custom-forms.module.js.map +1 -1
  104. package/dist/lib/generated/Entities/MJOpenApp/mjopenapp.form.component.js +3 -3
  105. package/dist/lib/generated/Entities/MJOpenApp/mjopenapp.form.component.js.map +1 -1
  106. package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js +5 -5
  107. package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js.map +1 -1
  108. package/package.json +30 -30
@@ -26,16 +26,16 @@ const _c0 = ["sqlEditor"];
26
26
  const _forTrack0 = ($index, $item) => $item.name;
27
27
  const _forTrack1 = ($index, $item) => $item.ID || $index;
28
28
  const _forTrack2 = ($index, $item) => $item.ID;
29
- function QueryFormExtendedComponent_Conditional_1_Conditional_9_Template(rf, ctx) { if (rf & 1) {
29
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_9_Template(rf, ctx) { if (rf & 1) {
30
30
  const _r2 = i0.ɵɵgetCurrentView();
31
31
  i0.ɵɵelementStart(0, "kendo-textbox", 40);
32
- i0.ɵɵtwoWayListener("ngModelChange", function QueryFormExtendedComponent_Conditional_1_Conditional_9_Template_kendo_textbox_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r2.record.Name, $event) || (ctx_r2.record.Name = $event); return i0.ɵɵresetView($event); });
32
+ i0.ɵɵtwoWayListener("ngModelChange", function MJQueryFormComponentExtended_Conditional_1_Conditional_9_Template_kendo_textbox_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r2.record.Name, $event) || (ctx_r2.record.Name = $event); return i0.ɵɵresetView($event); });
33
33
  i0.ɵɵelementEnd();
34
34
  } if (rf & 2) {
35
35
  const ctx_r2 = i0.ɵɵnextContext(2);
36
36
  i0.ɵɵtwoWayProperty("ngModel", ctx_r2.record.Name);
37
37
  } }
38
- function QueryFormExtendedComponent_Conditional_1_Conditional_10_Template(rf, ctx) { if (rf & 1) {
38
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_10_Template(rf, ctx) { if (rf & 1) {
39
39
  i0.ɵɵelementStart(0, "h4", 12);
40
40
  i0.ɵɵtext(1);
41
41
  i0.ɵɵelementEnd();
@@ -44,10 +44,10 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_10_Template(rf, ct
44
44
  i0.ɵɵadvance();
45
45
  i0.ɵɵtextInterpolate(ctx_r2.record.Name || "Untitled Query");
46
46
  } }
47
- function QueryFormExtendedComponent_Conditional_1_Conditional_12_Template(rf, ctx) { if (rf & 1) {
47
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_12_Template(rf, ctx) { if (rf & 1) {
48
48
  const _r4 = i0.ɵɵgetCurrentView();
49
49
  i0.ɵɵelementStart(0, "button", 41);
50
- i0.ɵɵlistener("click", function QueryFormExtendedComponent_Conditional_1_Conditional_12_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.runQuery()); });
50
+ i0.ɵɵlistener("click", function MJQueryFormComponentExtended_Conditional_1_Conditional_12_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.runQuery()); });
51
51
  i0.ɵɵelement(1, "i", 42);
52
52
  i0.ɵɵtext(2, " Run ");
53
53
  i0.ɵɵelementEnd();
@@ -55,17 +55,17 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_12_Template(rf, ct
55
55
  const ctx_r2 = i0.ɵɵnextContext(2);
56
56
  i0.ɵɵproperty("themeColor", "primary")("size", "large")("disabled", ctx_r2.EditMode || ctx_r2.record.Status !== "Approved" || !ctx_r2.record.SQL || ctx_r2.record.SQL.trim().length === 0);
57
57
  } }
58
- function QueryFormExtendedComponent_Conditional_1_Conditional_17_Template(rf, ctx) { if (rf & 1) {
58
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_17_Template(rf, ctx) { if (rf & 1) {
59
59
  const _r5 = i0.ɵɵgetCurrentView();
60
60
  i0.ɵɵelementStart(0, "kendo-dropdownlist", 43);
61
- i0.ɵɵtwoWayListener("ngModelChange", function QueryFormExtendedComponent_Conditional_1_Conditional_17_Template_kendo_dropdownlist_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r2.record.CategoryID, $event) || (ctx_r2.record.CategoryID = $event); return i0.ɵɵresetView($event); });
61
+ i0.ɵɵtwoWayListener("ngModelChange", function MJQueryFormComponentExtended_Conditional_1_Conditional_17_Template_kendo_dropdownlist_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r2.record.CategoryID, $event) || (ctx_r2.record.CategoryID = $event); return i0.ɵɵresetView($event); });
62
62
  i0.ɵɵelementEnd();
63
63
  } if (rf & 2) {
64
64
  const ctx_r2 = i0.ɵɵnextContext(2);
65
65
  i0.ɵɵtwoWayProperty("ngModel", ctx_r2.record.CategoryID);
66
66
  i0.ɵɵproperty("data", ctx_r2.categoryOptions)("valuePrimitive", true);
67
67
  } }
68
- function QueryFormExtendedComponent_Conditional_1_Conditional_18_Template(rf, ctx) { if (rf & 1) {
68
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_18_Template(rf, ctx) { if (rf & 1) {
69
69
  i0.ɵɵelementStart(0, "span", 18);
70
70
  i0.ɵɵtext(1);
71
71
  i0.ɵɵelementEnd();
@@ -74,30 +74,30 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_18_Template(rf, ct
74
74
  i0.ɵɵadvance();
75
75
  i0.ɵɵtextInterpolate(ctx_r2.getCategoryPath() || "Uncategorized");
76
76
  } }
77
- function QueryFormExtendedComponent_Conditional_1_Conditional_22_Template(rf, ctx) { if (rf & 1) {
77
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_22_Template(rf, ctx) { if (rf & 1) {
78
78
  const _r6 = i0.ɵɵgetCurrentView();
79
79
  i0.ɵɵelementStart(0, "kendo-dropdownlist", 44);
80
- i0.ɵɵtwoWayListener("ngModelChange", function QueryFormExtendedComponent_Conditional_1_Conditional_22_Template_kendo_dropdownlist_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r2.record.Status, $event) || (ctx_r2.record.Status = $event); return i0.ɵɵresetView($event); });
80
+ i0.ɵɵtwoWayListener("ngModelChange", function MJQueryFormComponentExtended_Conditional_1_Conditional_22_Template_kendo_dropdownlist_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r2.record.Status, $event) || (ctx_r2.record.Status = $event); return i0.ɵɵresetView($event); });
81
81
  i0.ɵɵelementEnd();
82
82
  } if (rf & 2) {
83
83
  const ctx_r2 = i0.ɵɵnextContext(2);
84
84
  i0.ɵɵtwoWayProperty("ngModel", ctx_r2.record.Status);
85
85
  i0.ɵɵproperty("data", ctx_r2.statusOptions)("valuePrimitive", true);
86
86
  } }
87
- function QueryFormExtendedComponent_Conditional_1_Conditional_23_Conditional_1_Template(rf, ctx) { if (rf & 1) {
87
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_23_Conditional_1_Template(rf, ctx) { if (rf & 1) {
88
88
  i0.ɵɵelement(0, "i", 46);
89
89
  } }
90
- function QueryFormExtendedComponent_Conditional_1_Conditional_23_Conditional_2_Template(rf, ctx) { if (rf & 1) {
90
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_23_Conditional_2_Template(rf, ctx) { if (rf & 1) {
91
91
  i0.ɵɵelement(0, "i", 47);
92
92
  } }
93
- function QueryFormExtendedComponent_Conditional_1_Conditional_23_Conditional_3_Template(rf, ctx) { if (rf & 1) {
93
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_23_Conditional_3_Template(rf, ctx) { if (rf & 1) {
94
94
  i0.ɵɵelement(0, "i", 48);
95
95
  } }
96
- function QueryFormExtendedComponent_Conditional_1_Conditional_23_Template(rf, ctx) { if (rf & 1) {
96
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_23_Template(rf, ctx) { if (rf & 1) {
97
97
  i0.ɵɵelementStart(0, "span", 45);
98
- i0.ɵɵconditionalCreate(1, QueryFormExtendedComponent_Conditional_1_Conditional_23_Conditional_1_Template, 1, 0, "i", 46);
99
- i0.ɵɵconditionalCreate(2, QueryFormExtendedComponent_Conditional_1_Conditional_23_Conditional_2_Template, 1, 0, "i", 47);
100
- i0.ɵɵconditionalCreate(3, QueryFormExtendedComponent_Conditional_1_Conditional_23_Conditional_3_Template, 1, 0, "i", 48);
98
+ i0.ɵɵconditionalCreate(1, MJQueryFormComponentExtended_Conditional_1_Conditional_23_Conditional_1_Template, 1, 0, "i", 46);
99
+ i0.ɵɵconditionalCreate(2, MJQueryFormComponentExtended_Conditional_1_Conditional_23_Conditional_2_Template, 1, 0, "i", 47);
100
+ i0.ɵɵconditionalCreate(3, MJQueryFormComponentExtended_Conditional_1_Conditional_23_Conditional_3_Template, 1, 0, "i", 48);
101
101
  i0.ɵɵtext(4);
102
102
  i0.ɵɵelementEnd();
103
103
  } if (rf & 2) {
@@ -112,17 +112,17 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_23_Template(rf, ct
112
112
  i0.ɵɵadvance();
113
113
  i0.ɵɵtextInterpolate1(" ", ctx_r2.record.Status || "Unknown", " ");
114
114
  } }
115
- function QueryFormExtendedComponent_Conditional_1_Conditional_24_Conditional_1_Template(rf, ctx) { if (rf & 1) {
115
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_24_Conditional_1_Template(rf, ctx) { if (rf & 1) {
116
116
  const _r7 = i0.ɵɵgetCurrentView();
117
117
  i0.ɵɵelementStart(0, "kendo-textarea", 51);
118
- i0.ɵɵtwoWayListener("ngModelChange", function QueryFormExtendedComponent_Conditional_1_Conditional_24_Conditional_1_Template_kendo_textarea_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r2 = i0.ɵɵnextContext(3); i0.ɵɵtwoWayBindingSet(ctx_r2.record.Description, $event) || (ctx_r2.record.Description = $event); return i0.ɵɵresetView($event); });
118
+ i0.ɵɵtwoWayListener("ngModelChange", function MJQueryFormComponentExtended_Conditional_1_Conditional_24_Conditional_1_Template_kendo_textarea_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r2 = i0.ɵɵnextContext(3); i0.ɵɵtwoWayBindingSet(ctx_r2.record.Description, $event) || (ctx_r2.record.Description = $event); return i0.ɵɵresetView($event); });
119
119
  i0.ɵɵelementEnd();
120
120
  } if (rf & 2) {
121
121
  const ctx_r2 = i0.ɵɵnextContext(3);
122
122
  i0.ɵɵtwoWayProperty("ngModel", ctx_r2.record.Description);
123
123
  i0.ɵɵproperty("rows", 2);
124
124
  } }
125
- function QueryFormExtendedComponent_Conditional_1_Conditional_24_Conditional_2_Template(rf, ctx) { if (rf & 1) {
125
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_24_Conditional_2_Template(rf, ctx) { if (rf & 1) {
126
126
  i0.ɵɵelementStart(0, "p", 50);
127
127
  i0.ɵɵtext(1);
128
128
  i0.ɵɵelementEnd();
@@ -131,30 +131,30 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_24_Conditional_2_T
131
131
  i0.ɵɵadvance();
132
132
  i0.ɵɵtextInterpolate(ctx_r2.record.Description);
133
133
  } }
134
- function QueryFormExtendedComponent_Conditional_1_Conditional_24_Template(rf, ctx) { if (rf & 1) {
134
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_24_Template(rf, ctx) { if (rf & 1) {
135
135
  i0.ɵɵelementStart(0, "div");
136
- i0.ɵɵconditionalCreate(1, QueryFormExtendedComponent_Conditional_1_Conditional_24_Conditional_1_Template, 1, 2, "kendo-textarea", 49)(2, QueryFormExtendedComponent_Conditional_1_Conditional_24_Conditional_2_Template, 2, 1, "p", 50);
136
+ i0.ɵɵconditionalCreate(1, MJQueryFormComponentExtended_Conditional_1_Conditional_24_Conditional_1_Template, 1, 2, "kendo-textarea", 49)(2, MJQueryFormComponentExtended_Conditional_1_Conditional_24_Conditional_2_Template, 2, 1, "p", 50);
137
137
  i0.ɵɵelementEnd();
138
138
  } if (rf & 2) {
139
139
  const ctx_r2 = i0.ɵɵnextContext(2);
140
140
  i0.ɵɵadvance();
141
141
  i0.ɵɵconditional(ctx_r2.EditMode ? 1 : 2);
142
142
  } }
143
- function QueryFormExtendedComponent_Conditional_1_ng_template_27_Conditional_4_Template(rf, ctx) { if (rf & 1) {
143
+ function MJQueryFormComponentExtended_Conditional_1_ng_template_27_Conditional_4_Template(rf, ctx) { if (rf & 1) {
144
144
  i0.ɵɵelementStart(0, "span", 55);
145
145
  i0.ɵɵelement(1, "i", 60);
146
146
  i0.ɵɵtext(2, " Defined ");
147
147
  i0.ɵɵelementEnd();
148
148
  } }
149
- function QueryFormExtendedComponent_Conditional_1_ng_template_27_Template(rf, ctx) { if (rf & 1) {
149
+ function MJQueryFormComponentExtended_Conditional_1_ng_template_27_Template(rf, ctx) { if (rf & 1) {
150
150
  const _r8 = i0.ɵɵgetCurrentView();
151
151
  i0.ɵɵelementStart(0, "span", 52)(1, "span", 53);
152
152
  i0.ɵɵelement(2, "i", 54);
153
153
  i0.ɵɵtext(3, " SQL ");
154
- i0.ɵɵconditionalCreate(4, QueryFormExtendedComponent_Conditional_1_ng_template_27_Conditional_4_Template, 3, 0, "span", 55);
154
+ i0.ɵɵconditionalCreate(4, MJQueryFormComponentExtended_Conditional_1_ng_template_27_Conditional_4_Template, 3, 0, "span", 55);
155
155
  i0.ɵɵelementEnd();
156
156
  i0.ɵɵelementStart(5, "button", 56);
157
- i0.ɵɵlistener("click", function QueryFormExtendedComponent_Conditional_1_ng_template_27_Template_button_click_5_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r2 = i0.ɵɵnextContext(2); ctx_r2.toggleFiltersHelp(); return i0.ɵɵresetView($event.stopPropagation()); });
157
+ i0.ɵɵlistener("click", function MJQueryFormComponentExtended_Conditional_1_ng_template_27_Template_button_click_5_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r2 = i0.ɵɵnextContext(2); ctx_r2.toggleFiltersHelp(); return i0.ɵɵresetView($event.stopPropagation()); });
158
158
  i0.ɵɵelement(6, "i", 57);
159
159
  i0.ɵɵelementStart(7, "span", 58);
160
160
  i0.ɵɵtext(8, "Filters Help");
@@ -168,7 +168,7 @@ function QueryFormExtendedComponent_Conditional_1_ng_template_27_Template(rf, ct
168
168
  i0.ɵɵadvance(5);
169
169
  i0.ɵɵproperty("ngClass", ctx_r2.showFiltersHelp ? "fa-chevron-up" : "fa-chevron-down");
170
170
  } }
171
- function QueryFormExtendedComponent_Conditional_1_Conditional_31_For_6_Conditional_7_Template(rf, ctx) { if (rf & 1) {
171
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_31_For_6_Conditional_7_Template(rf, ctx) { if (rf & 1) {
172
172
  i0.ɵɵelementStart(0, "div", 68);
173
173
  i0.ɵɵtext(1);
174
174
  i0.ɵɵelementEnd();
@@ -177,7 +177,7 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_31_For_6_Condition
177
177
  i0.ɵɵadvance();
178
178
  i0.ɵɵtextInterpolate1(" ", filter_r9.notes, " ");
179
179
  } }
180
- function QueryFormExtendedComponent_Conditional_1_Conditional_31_For_6_Template(rf, ctx) { if (rf & 1) {
180
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_31_For_6_Template(rf, ctx) { if (rf & 1) {
181
181
  i0.ɵɵelementStart(0, "div", 64)(1, "div", 65);
182
182
  i0.ɵɵtext(2);
183
183
  i0.ɵɵelementEnd();
@@ -187,7 +187,7 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_31_For_6_Template(
187
187
  i0.ɵɵelementStart(5, "div", 67);
188
188
  i0.ɵɵtext(6);
189
189
  i0.ɵɵelementEnd();
190
- i0.ɵɵconditionalCreate(7, QueryFormExtendedComponent_Conditional_1_Conditional_31_For_6_Conditional_7_Template, 2, 1, "div", 68);
190
+ i0.ɵɵconditionalCreate(7, MJQueryFormComponentExtended_Conditional_1_Conditional_31_For_6_Conditional_7_Template, 2, 1, "div", 68);
191
191
  i0.ɵɵelementEnd();
192
192
  } if (rf & 2) {
193
193
  const filter_r9 = ctx.$implicit;
@@ -200,20 +200,20 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_31_For_6_Template(
200
200
  i0.ɵɵadvance();
201
201
  i0.ɵɵconditional(filter_r9.notes ? 7 : -1);
202
202
  } }
203
- function QueryFormExtendedComponent_Conditional_1_Conditional_31_Template(rf, ctx) { if (rf & 1) {
203
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_31_Template(rf, ctx) { if (rf & 1) {
204
204
  i0.ɵɵelementStart(0, "div", 27)(1, "h6", 61);
205
205
  i0.ɵɵelement(2, "i", 62);
206
206
  i0.ɵɵtext(3, " Available SQL Filters for Parameterized Queries ");
207
207
  i0.ɵɵelementEnd();
208
208
  i0.ɵɵelementStart(4, "div", 63);
209
- i0.ɵɵrepeaterCreate(5, QueryFormExtendedComponent_Conditional_1_Conditional_31_For_6_Template, 8, 4, "div", 64, _forTrack0);
209
+ i0.ɵɵrepeaterCreate(5, MJQueryFormComponentExtended_Conditional_1_Conditional_31_For_6_Template, 8, 4, "div", 64, _forTrack0);
210
210
  i0.ɵɵelementEnd()();
211
211
  } if (rf & 2) {
212
212
  const ctx_r2 = i0.ɵɵnextContext(2);
213
213
  i0.ɵɵadvance(5);
214
214
  i0.ɵɵrepeater(ctx_r2.sqlFilters);
215
215
  } }
216
- function QueryFormExtendedComponent_Conditional_1_Conditional_32_ng_template_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
216
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_32_ng_template_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
217
217
  i0.ɵɵelementStart(0, "span", 72);
218
218
  i0.ɵɵtext(1);
219
219
  i0.ɵɵelementEnd();
@@ -222,33 +222,33 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_32_ng_template_1_C
222
222
  i0.ɵɵadvance();
223
223
  i0.ɵɵtextInterpolate1(" ", ctx_r2.queryParameters.length, " ");
224
224
  } }
225
- function QueryFormExtendedComponent_Conditional_1_Conditional_32_ng_template_1_Template(rf, ctx) { if (rf & 1) {
225
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_32_ng_template_1_Template(rf, ctx) { if (rf & 1) {
226
226
  i0.ɵɵelementStart(0, "span", 53);
227
227
  i0.ɵɵelement(1, "i", 71);
228
228
  i0.ɵɵtext(2, " Query Parameters ");
229
- i0.ɵɵconditionalCreate(3, QueryFormExtendedComponent_Conditional_1_Conditional_32_ng_template_1_Conditional_3_Template, 2, 1, "span", 72);
229
+ i0.ɵɵconditionalCreate(3, MJQueryFormComponentExtended_Conditional_1_Conditional_32_ng_template_1_Conditional_3_Template, 2, 1, "span", 72);
230
230
  i0.ɵɵelementEnd();
231
231
  } if (rf & 2) {
232
232
  const ctx_r2 = i0.ɵɵnextContext(3);
233
233
  i0.ɵɵadvance(3);
234
234
  i0.ɵɵconditional(ctx_r2.queryParameters.length > 0 ? 3 : -1);
235
235
  } }
236
- function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_3_Template(rf, ctx) { if (rf & 1) {
236
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_3_Template(rf, ctx) { if (rf & 1) {
237
237
  i0.ɵɵelementStart(0, "div", 70);
238
238
  i0.ɵɵelement(1, "i", 73);
239
239
  i0.ɵɵelementStart(2, "span", 74);
240
240
  i0.ɵɵtext(3, "Loading parameters...");
241
241
  i0.ɵɵelementEnd()();
242
242
  } }
243
- function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_0_Conditional_6_Template(rf, ctx) { if (rf & 1) {
243
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_0_Conditional_6_Template(rf, ctx) { if (rf & 1) {
244
244
  const _r11 = i0.ɵɵgetCurrentView();
245
245
  i0.ɵɵelementStart(0, "button", 80);
246
- i0.ɵɵlistener("click", function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_0_Conditional_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.addParameter()); });
246
+ i0.ɵɵlistener("click", function MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_0_Conditional_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.addParameter()); });
247
247
  i0.ɵɵelement(1, "i", 81);
248
248
  i0.ɵɵtext(2, " Add First Parameter ");
249
249
  i0.ɵɵelementEnd();
250
250
  } }
251
- function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
251
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
252
252
  i0.ɵɵelementStart(0, "div", 75);
253
253
  i0.ɵɵelement(1, "i", 76);
254
254
  i0.ɵɵelementStart(2, "div", 77);
@@ -257,27 +257,27 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_C
257
257
  i0.ɵɵelementStart(4, "div", 78);
258
258
  i0.ɵɵtext(5, " Add parameters to make your query dynamic and reusable. ");
259
259
  i0.ɵɵelementEnd();
260
- i0.ɵɵconditionalCreate(6, QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_0_Conditional_6_Template, 3, 0, "button", 79);
260
+ i0.ɵɵconditionalCreate(6, MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_0_Conditional_6_Template, 3, 0, "button", 79);
261
261
  i0.ɵɵelementEnd();
262
262
  } if (rf & 2) {
263
263
  const ctx_r2 = i0.ɵɵnextContext(4);
264
264
  i0.ɵɵadvance(6);
265
265
  i0.ɵɵconditional(ctx_r2.EditMode ? 6 : -1);
266
266
  } }
267
- function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
267
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
268
268
  const _r12 = i0.ɵɵgetCurrentView();
269
269
  i0.ɵɵelementStart(0, "div", 82)(1, "button", 80);
270
- i0.ɵɵlistener("click", function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_1_Conditional_0_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r12); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.addParameter()); });
270
+ i0.ɵɵlistener("click", function MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_1_Conditional_0_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r12); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.addParameter()); });
271
271
  i0.ɵɵelement(2, "i", 81);
272
272
  i0.ɵɵtext(3, " Add Parameter ");
273
273
  i0.ɵɵelementEnd()();
274
274
  } }
275
- function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_6_Template(rf, ctx) { if (rf & 1) {
275
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_6_Template(rf, ctx) { if (rf & 1) {
276
276
  i0.ɵɵelementStart(0, "span", 90);
277
277
  i0.ɵɵtext(1, "Required");
278
278
  i0.ɵɵelementEnd();
279
279
  } }
280
- function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_8_Template(rf, ctx) { if (rf & 1) {
280
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_8_Template(rf, ctx) { if (rf & 1) {
281
281
  i0.ɵɵelementStart(0, "div", 92);
282
282
  i0.ɵɵtext(1);
283
283
  i0.ɵɵelementEnd();
@@ -286,7 +286,7 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_C
286
286
  i0.ɵɵadvance();
287
287
  i0.ɵɵtextInterpolate(param_r14.Description);
288
288
  } }
289
- function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_14_Template(rf, ctx) { if (rf & 1) {
289
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_14_Template(rf, ctx) { if (rf & 1) {
290
290
  i0.ɵɵelementStart(0, "div")(1, "strong");
291
291
  i0.ɵɵtext(2, "Default:");
292
292
  i0.ɵɵelementEnd();
@@ -298,40 +298,40 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_C
298
298
  i0.ɵɵadvance(4);
299
299
  i0.ɵɵtextInterpolate1(" ", param_r14.DefaultValue, " ");
300
300
  } }
301
- function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_15_Template(rf, ctx) { if (rf & 1) {
301
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_15_Template(rf, ctx) { if (rf & 1) {
302
302
  const _r15 = i0.ɵɵgetCurrentView();
303
303
  i0.ɵɵelementStart(0, "div", 96);
304
- i0.ɵɵlistener("click", function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_15_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r15); return i0.ɵɵresetView($event.stopPropagation()); });
304
+ i0.ɵɵlistener("click", function MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_15_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r15); return i0.ɵɵresetView($event.stopPropagation()); });
305
305
  i0.ɵɵelementStart(1, "button", 97);
306
- i0.ɵɵlistener("click", function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_15_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r15); const param_r14 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.editParameter(param_r14)); });
306
+ i0.ɵɵlistener("click", function MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_15_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r15); const param_r14 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.editParameter(param_r14)); });
307
307
  i0.ɵɵelement(2, "i", 98);
308
308
  i0.ɵɵelementEnd();
309
309
  i0.ɵɵelementStart(3, "button", 99);
310
- i0.ɵɵlistener("click", function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_15_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r15); const param_r14 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.deleteParameter(param_r14)); });
310
+ i0.ɵɵlistener("click", function MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_15_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r15); const param_r14 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.deleteParameter(param_r14)); });
311
311
  i0.ɵɵelement(4, "i", 100);
312
312
  i0.ɵɵelementEnd()();
313
313
  } }
314
- function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Template(rf, ctx) { if (rf & 1) {
314
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Template(rf, ctx) { if (rf & 1) {
315
315
  const _r13 = i0.ɵɵgetCurrentView();
316
316
  i0.ɵɵelementStart(0, "div", 85);
317
- i0.ɵɵlistener("click", function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Template_div_click_0_listener() { const param_r14 = i0.ɵɵrestoreView(_r13).$implicit; const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.editParameter(param_r14)); });
317
+ i0.ɵɵlistener("click", function MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Template_div_click_0_listener() { const param_r14 = i0.ɵɵrestoreView(_r13).$implicit; const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.editParameter(param_r14)); });
318
318
  i0.ɵɵelementStart(1, "div", 86)(2, "div", 87);
319
319
  i0.ɵɵelement(3, "i", 88);
320
320
  i0.ɵɵtext(4);
321
321
  i0.ɵɵelementEnd();
322
322
  i0.ɵɵelementStart(5, "div", 89);
323
- i0.ɵɵconditionalCreate(6, QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_6_Template, 2, 0, "span", 90);
323
+ i0.ɵɵconditionalCreate(6, MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_6_Template, 2, 0, "span", 90);
324
324
  i0.ɵɵelementEnd()();
325
325
  i0.ɵɵelementStart(7, "div", 91);
326
- i0.ɵɵconditionalCreate(8, QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_8_Template, 2, 1, "div", 92);
326
+ i0.ɵɵconditionalCreate(8, MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_8_Template, 2, 1, "div", 92);
327
327
  i0.ɵɵelementStart(9, "div", 93)(10, "div")(11, "strong");
328
328
  i0.ɵɵtext(12, "Type:");
329
329
  i0.ɵɵelementEnd();
330
330
  i0.ɵɵtext(13);
331
331
  i0.ɵɵelementEnd();
332
- i0.ɵɵconditionalCreate(14, QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_14_Template, 5, 1, "div");
332
+ i0.ɵɵconditionalCreate(14, MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_14_Template, 5, 1, "div");
333
333
  i0.ɵɵelementEnd()();
334
- i0.ɵɵconditionalCreate(15, QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_15_Template, 5, 0, "div", 94);
334
+ i0.ɵɵconditionalCreate(15, MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Conditional_15_Template, 5, 0, "div", 94);
335
335
  i0.ɵɵelementEnd();
336
336
  } if (rf & 2) {
337
337
  const param_r14 = ctx.$implicit;
@@ -350,10 +350,10 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_C
350
350
  i0.ɵɵadvance();
351
351
  i0.ɵɵconditional(ctx_r2.EditMode ? 15 : -1);
352
352
  } }
353
- function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
354
- i0.ɵɵconditionalCreate(0, QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_1_Conditional_0_Template, 4, 0, "div", 82);
353
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
354
+ i0.ɵɵconditionalCreate(0, MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_1_Conditional_0_Template, 4, 0, "div", 82);
355
355
  i0.ɵɵelementStart(1, "div", 83);
356
- i0.ɵɵrepeaterCreate(2, QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Template, 16, 8, "div", 84, _forTrack1);
356
+ i0.ɵɵrepeaterCreate(2, MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_1_For_3_Template, 16, 8, "div", 84, _forTrack1);
357
357
  i0.ɵɵelementEnd();
358
358
  } if (rf & 2) {
359
359
  const ctx_r2 = i0.ɵɵnextContext(4);
@@ -361,19 +361,19 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_C
361
361
  i0.ɵɵadvance(2);
362
362
  i0.ɵɵrepeater(ctx_r2.queryParameters);
363
363
  } }
364
- function QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Template(rf, ctx) { if (rf & 1) {
365
- i0.ɵɵconditionalCreate(0, QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_0_Template, 7, 1, "div", 75)(1, QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Conditional_1_Template, 4, 1);
364
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Template(rf, ctx) { if (rf & 1) {
365
+ i0.ɵɵconditionalCreate(0, MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_0_Template, 7, 1, "div", 75)(1, MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Conditional_1_Template, 4, 1);
366
366
  } if (rf & 2) {
367
367
  const ctx_r2 = i0.ɵɵnextContext(3);
368
368
  i0.ɵɵconditional(ctx_r2.queryParameters.length === 0 ? 0 : 1);
369
369
  } }
370
- function QueryFormExtendedComponent_Conditional_1_Conditional_32_Template(rf, ctx) { if (rf & 1) {
370
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_32_Template(rf, ctx) { if (rf & 1) {
371
371
  const _r10 = i0.ɵɵgetCurrentView();
372
372
  i0.ɵɵelementStart(0, "kendo-expansionpanel", 23);
373
- i0.ɵɵtwoWayListener("expandedChange", function QueryFormExtendedComponent_Conditional_1_Conditional_32_Template_kendo_expansionpanel_expandedChange_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r2.parametersPanelExpanded, $event) || (ctx_r2.parametersPanelExpanded = $event); return i0.ɵɵresetView($event); });
374
- i0.ɵɵtemplate(1, QueryFormExtendedComponent_Conditional_1_Conditional_32_ng_template_1_Template, 4, 1, "ng-template", 24);
373
+ i0.ɵɵtwoWayListener("expandedChange", function MJQueryFormComponentExtended_Conditional_1_Conditional_32_Template_kendo_expansionpanel_expandedChange_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r2.parametersPanelExpanded, $event) || (ctx_r2.parametersPanelExpanded = $event); return i0.ɵɵresetView($event); });
374
+ i0.ɵɵtemplate(1, MJQueryFormComponentExtended_Conditional_1_Conditional_32_ng_template_1_Template, 4, 1, "ng-template", 24);
375
375
  i0.ɵɵelementStart(2, "div", 69);
376
- i0.ɵɵconditionalCreate(3, QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_3_Template, 4, 0, "div", 70)(4, QueryFormExtendedComponent_Conditional_1_Conditional_32_Conditional_4_Template, 2, 1);
376
+ i0.ɵɵconditionalCreate(3, MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_3_Template, 4, 0, "div", 70)(4, MJQueryFormComponentExtended_Conditional_1_Conditional_32_Conditional_4_Template, 2, 1);
377
377
  i0.ɵɵelementEnd()();
378
378
  } if (rf & 2) {
379
379
  const ctx_r2 = i0.ɵɵnextContext(2);
@@ -381,7 +381,7 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_32_Template(rf, ct
381
381
  i0.ɵɵadvance(3);
382
382
  i0.ɵɵconditional(ctx_r2.isLoadingParameters ? 3 : 4);
383
383
  } }
384
- function QueryFormExtendedComponent_Conditional_1_Conditional_33_ng_template_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
384
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_33_ng_template_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
385
385
  i0.ɵɵelementStart(0, "span", 72);
386
386
  i0.ɵɵtext(1);
387
387
  i0.ɵɵelementEnd();
@@ -390,31 +390,31 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_33_ng_template_1_C
390
390
  i0.ɵɵadvance();
391
391
  i0.ɵɵtextInterpolate1(" ", ctx_r2.queryFields.length, " ");
392
392
  } }
393
- function QueryFormExtendedComponent_Conditional_1_Conditional_33_ng_template_1_Template(rf, ctx) { if (rf & 1) {
393
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_33_ng_template_1_Template(rf, ctx) { if (rf & 1) {
394
394
  i0.ɵɵelementStart(0, "span", 53);
395
395
  i0.ɵɵelement(1, "i", 102);
396
396
  i0.ɵɵtext(2, " Query Fields ");
397
- i0.ɵɵconditionalCreate(3, QueryFormExtendedComponent_Conditional_1_Conditional_33_ng_template_1_Conditional_3_Template, 2, 1, "span", 72);
397
+ i0.ɵɵconditionalCreate(3, MJQueryFormComponentExtended_Conditional_1_Conditional_33_ng_template_1_Conditional_3_Template, 2, 1, "span", 72);
398
398
  i0.ɵɵelementEnd();
399
399
  } if (rf & 2) {
400
400
  const ctx_r2 = i0.ɵɵnextContext(3);
401
401
  i0.ɵɵadvance(3);
402
402
  i0.ɵɵconditional(ctx_r2.queryFields.length > 0 ? 3 : -1);
403
403
  } }
404
- function QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_3_Template(rf, ctx) { if (rf & 1) {
404
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_3_Template(rf, ctx) { if (rf & 1) {
405
405
  i0.ɵɵelementStart(0, "div", 101);
406
406
  i0.ɵɵelement(1, "i", 103);
407
407
  i0.ɵɵelementEnd();
408
408
  } }
409
- function QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Conditional_0_Conditional_6_Template(rf, ctx) { if (rf & 1) {
409
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Conditional_0_Conditional_6_Template(rf, ctx) { if (rf & 1) {
410
410
  const _r17 = i0.ɵɵgetCurrentView();
411
411
  i0.ɵɵelementStart(0, "button", 80);
412
- i0.ɵɵlistener("click", function QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Conditional_0_Conditional_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r17); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.addField()); });
412
+ i0.ɵɵlistener("click", function MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Conditional_0_Conditional_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r17); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.addField()); });
413
413
  i0.ɵɵelement(1, "i", 81);
414
414
  i0.ɵɵtext(2, " Add First Field ");
415
415
  i0.ɵɵelementEnd();
416
416
  } }
417
- function QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
417
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
418
418
  i0.ɵɵelementStart(0, "div", 75);
419
419
  i0.ɵɵelement(1, "i", 104);
420
420
  i0.ɵɵelementStart(2, "h5", 105);
@@ -423,22 +423,22 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_C
423
423
  i0.ɵɵelementStart(4, "div", 106);
424
424
  i0.ɵɵtext(5, " Define output fields for your query results. ");
425
425
  i0.ɵɵelementEnd();
426
- i0.ɵɵconditionalCreate(6, QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Conditional_0_Conditional_6_Template, 3, 0, "button", 79);
426
+ i0.ɵɵconditionalCreate(6, MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Conditional_0_Conditional_6_Template, 3, 0, "button", 79);
427
427
  i0.ɵɵelementEnd();
428
428
  } if (rf & 2) {
429
429
  const ctx_r2 = i0.ɵɵnextContext(4);
430
430
  i0.ɵɵadvance(6);
431
431
  i0.ɵɵconditional(ctx_r2.EditMode ? 6 : -1);
432
432
  } }
433
- function QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
433
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
434
434
  const _r18 = i0.ɵɵgetCurrentView();
435
435
  i0.ɵɵelementStart(0, "div", 82)(1, "button", 80);
436
- i0.ɵɵlistener("click", function QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Conditional_1_Conditional_0_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r18); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.addField()); });
436
+ i0.ɵɵlistener("click", function MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Conditional_1_Conditional_0_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r18); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.addField()); });
437
437
  i0.ɵɵelement(2, "i", 81);
438
438
  i0.ɵɵtext(3, " Add Field ");
439
439
  i0.ɵɵelementEnd()();
440
440
  } }
441
- function QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Conditional_1_For_3_Conditional_8_Template(rf, ctx) { if (rf & 1) {
441
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Conditional_1_For_3_Conditional_8_Template(rf, ctx) { if (rf & 1) {
442
442
  i0.ɵɵelementStart(0, "span", 110);
443
443
  i0.ɵɵtext(1);
444
444
  i0.ɵɵelementEnd();
@@ -447,7 +447,7 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_C
447
447
  i0.ɵɵadvance();
448
448
  i0.ɵɵtextInterpolate1("#", field_r19.Sequence);
449
449
  } }
450
- function QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Conditional_1_For_3_Conditional_10_Template(rf, ctx) { if (rf & 1) {
450
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Conditional_1_For_3_Conditional_10_Template(rf, ctx) { if (rf & 1) {
451
451
  i0.ɵɵelementStart(0, "div", 111);
452
452
  i0.ɵɵtext(1);
453
453
  i0.ɵɵelementEnd();
@@ -456,14 +456,14 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_C
456
456
  i0.ɵɵadvance();
457
457
  i0.ɵɵtextInterpolate(field_r19.Description);
458
458
  } }
459
- function QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Conditional_1_For_3_Conditional_15_Template(rf, ctx) { if (rf & 1) {
459
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Conditional_1_For_3_Conditional_15_Template(rf, ctx) { if (rf & 1) {
460
460
  const _r20 = i0.ɵɵgetCurrentView();
461
461
  i0.ɵɵelementStart(0, "div", 115)(1, "button", 116);
462
- i0.ɵɵlistener("click", function QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Conditional_1_For_3_Conditional_15_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r20); const field_r19 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.deleteField(field_r19)); });
462
+ i0.ɵɵlistener("click", function MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Conditional_1_For_3_Conditional_15_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r20); const field_r19 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.deleteField(field_r19)); });
463
463
  i0.ɵɵelement(2, "i", 100);
464
464
  i0.ɵɵelementEnd()();
465
465
  } }
466
- function QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Conditional_1_For_3_Template(rf, ctx) { if (rf & 1) {
466
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Conditional_1_For_3_Template(rf, ctx) { if (rf & 1) {
467
467
  i0.ɵɵelementStart(0, "div", 107)(1, "div", 86)(2, "div", 87);
468
468
  i0.ɵɵelement(3, "i", 108);
469
469
  i0.ɵɵtext(4);
@@ -471,15 +471,15 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_C
471
471
  i0.ɵɵelementStart(5, "div", 89)(6, "span", 109);
472
472
  i0.ɵɵtext(7);
473
473
  i0.ɵɵelementEnd();
474
- i0.ɵɵconditionalCreate(8, QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Conditional_1_For_3_Conditional_8_Template, 2, 1, "span", 110);
474
+ i0.ɵɵconditionalCreate(8, MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Conditional_1_For_3_Conditional_8_Template, 2, 1, "span", 110);
475
475
  i0.ɵɵelementEnd()();
476
476
  i0.ɵɵelementStart(9, "div", 91);
477
- i0.ɵɵconditionalCreate(10, QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Conditional_1_For_3_Conditional_10_Template, 2, 1, "div", 111);
477
+ i0.ɵɵconditionalCreate(10, MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Conditional_1_For_3_Conditional_10_Template, 2, 1, "div", 111);
478
478
  i0.ɵɵelementStart(11, "div", 112)(12, "span", 113);
479
479
  i0.ɵɵelement(13, "i", 114);
480
480
  i0.ɵɵtext(14);
481
481
  i0.ɵɵelementEnd()()();
482
- i0.ɵɵconditionalCreate(15, QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Conditional_1_For_3_Conditional_15_Template, 3, 0, "div", 115);
482
+ i0.ɵɵconditionalCreate(15, MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Conditional_1_For_3_Conditional_15_Template, 3, 0, "div", 115);
483
483
  i0.ɵɵelementEnd();
484
484
  } if (rf & 2) {
485
485
  const field_r19 = ctx.$implicit;
@@ -497,10 +497,10 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_C
497
497
  i0.ɵɵadvance();
498
498
  i0.ɵɵconditional(ctx_r2.EditMode ? 15 : -1);
499
499
  } }
500
- function QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
501
- i0.ɵɵconditionalCreate(0, QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Conditional_1_Conditional_0_Template, 4, 0, "div", 82);
500
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
501
+ i0.ɵɵconditionalCreate(0, MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Conditional_1_Conditional_0_Template, 4, 0, "div", 82);
502
502
  i0.ɵɵelementStart(1, "div", 83);
503
- i0.ɵɵrepeaterCreate(2, QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Conditional_1_For_3_Template, 16, 6, "div", 107, _forTrack2);
503
+ i0.ɵɵrepeaterCreate(2, MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Conditional_1_For_3_Template, 16, 6, "div", 107, _forTrack2);
504
504
  i0.ɵɵelementEnd();
505
505
  } if (rf & 2) {
506
506
  const ctx_r2 = i0.ɵɵnextContext(4);
@@ -508,19 +508,19 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_C
508
508
  i0.ɵɵadvance(2);
509
509
  i0.ɵɵrepeater(ctx_r2.queryFields);
510
510
  } }
511
- function QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Template(rf, ctx) { if (rf & 1) {
512
- i0.ɵɵconditionalCreate(0, QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Conditional_0_Template, 7, 1, "div", 75)(1, QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Conditional_1_Template, 4, 1);
511
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Template(rf, ctx) { if (rf & 1) {
512
+ i0.ɵɵconditionalCreate(0, MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Conditional_0_Template, 7, 1, "div", 75)(1, MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Conditional_1_Template, 4, 1);
513
513
  } if (rf & 2) {
514
514
  const ctx_r2 = i0.ɵɵnextContext(3);
515
515
  i0.ɵɵconditional(ctx_r2.queryFields.length === 0 ? 0 : 1);
516
516
  } }
517
- function QueryFormExtendedComponent_Conditional_1_Conditional_33_Template(rf, ctx) { if (rf & 1) {
517
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_33_Template(rf, ctx) { if (rf & 1) {
518
518
  const _r16 = i0.ɵɵgetCurrentView();
519
519
  i0.ɵɵelementStart(0, "kendo-expansionpanel", 23);
520
- i0.ɵɵtwoWayListener("expandedChange", function QueryFormExtendedComponent_Conditional_1_Conditional_33_Template_kendo_expansionpanel_expandedChange_0_listener($event) { i0.ɵɵrestoreView(_r16); const ctx_r2 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r2.fieldsPanelExpanded, $event) || (ctx_r2.fieldsPanelExpanded = $event); return i0.ɵɵresetView($event); });
521
- i0.ɵɵtemplate(1, QueryFormExtendedComponent_Conditional_1_Conditional_33_ng_template_1_Template, 4, 1, "ng-template", 24);
520
+ i0.ɵɵtwoWayListener("expandedChange", function MJQueryFormComponentExtended_Conditional_1_Conditional_33_Template_kendo_expansionpanel_expandedChange_0_listener($event) { i0.ɵɵrestoreView(_r16); const ctx_r2 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r2.fieldsPanelExpanded, $event) || (ctx_r2.fieldsPanelExpanded = $event); return i0.ɵɵresetView($event); });
521
+ i0.ɵɵtemplate(1, MJQueryFormComponentExtended_Conditional_1_Conditional_33_ng_template_1_Template, 4, 1, "ng-template", 24);
522
522
  i0.ɵɵelementStart(2, "div", 69);
523
- i0.ɵɵconditionalCreate(3, QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_3_Template, 2, 0, "div", 101)(4, QueryFormExtendedComponent_Conditional_1_Conditional_33_Conditional_4_Template, 2, 1);
523
+ i0.ɵɵconditionalCreate(3, MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_3_Template, 2, 0, "div", 101)(4, MJQueryFormComponentExtended_Conditional_1_Conditional_33_Conditional_4_Template, 2, 1);
524
524
  i0.ɵɵelementEnd()();
525
525
  } if (rf & 2) {
526
526
  const ctx_r2 = i0.ɵɵnextContext(2);
@@ -528,7 +528,7 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_33_Template(rf, ct
528
528
  i0.ɵɵadvance(3);
529
529
  i0.ɵɵconditional(ctx_r2.isLoadingFields ? 3 : 4);
530
530
  } }
531
- function QueryFormExtendedComponent_Conditional_1_Conditional_34_ng_template_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
531
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_34_ng_template_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
532
532
  i0.ɵɵelementStart(0, "span", 72);
533
533
  i0.ɵɵtext(1);
534
534
  i0.ɵɵelementEnd();
@@ -537,31 +537,31 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_34_ng_template_1_C
537
537
  i0.ɵɵadvance();
538
538
  i0.ɵɵtextInterpolate1(" ", ctx_r2.queryEntities.length, " ");
539
539
  } }
540
- function QueryFormExtendedComponent_Conditional_1_Conditional_34_ng_template_1_Template(rf, ctx) { if (rf & 1) {
540
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_34_ng_template_1_Template(rf, ctx) { if (rf & 1) {
541
541
  i0.ɵɵelementStart(0, "span", 53);
542
542
  i0.ɵɵelement(1, "i", 117);
543
543
  i0.ɵɵtext(2, " Query Entities ");
544
- i0.ɵɵconditionalCreate(3, QueryFormExtendedComponent_Conditional_1_Conditional_34_ng_template_1_Conditional_3_Template, 2, 1, "span", 72);
544
+ i0.ɵɵconditionalCreate(3, MJQueryFormComponentExtended_Conditional_1_Conditional_34_ng_template_1_Conditional_3_Template, 2, 1, "span", 72);
545
545
  i0.ɵɵelementEnd();
546
546
  } if (rf & 2) {
547
547
  const ctx_r2 = i0.ɵɵnextContext(3);
548
548
  i0.ɵɵadvance(3);
549
549
  i0.ɵɵconditional(ctx_r2.queryEntities.length > 0 ? 3 : -1);
550
550
  } }
551
- function QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_3_Template(rf, ctx) { if (rf & 1) {
551
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_3_Template(rf, ctx) { if (rf & 1) {
552
552
  i0.ɵɵelementStart(0, "div", 101);
553
553
  i0.ɵɵelement(1, "i", 103);
554
554
  i0.ɵɵelementEnd();
555
555
  } }
556
- function QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_0_Conditional_6_Template(rf, ctx) { if (rf & 1) {
556
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_0_Conditional_6_Template(rf, ctx) { if (rf & 1) {
557
557
  const _r22 = i0.ɵɵgetCurrentView();
558
558
  i0.ɵɵelementStart(0, "button", 80);
559
- i0.ɵɵlistener("click", function QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_0_Conditional_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r22); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.addEntity()); });
559
+ i0.ɵɵlistener("click", function MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_0_Conditional_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r22); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.addEntity()); });
560
560
  i0.ɵɵelement(1, "i", 81);
561
561
  i0.ɵɵtext(2, " Add First Entity ");
562
562
  i0.ɵɵelementEnd();
563
563
  } }
564
- function QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
564
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
565
565
  i0.ɵɵelementStart(0, "div", 75);
566
566
  i0.ɵɵelement(1, "i", 118);
567
567
  i0.ɵɵelementStart(2, "h5", 105);
@@ -570,25 +570,25 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_C
570
570
  i0.ɵɵelementStart(4, "div", 106);
571
571
  i0.ɵɵtext(5, " Track which entities this query uses for documentation. ");
572
572
  i0.ɵɵelementEnd();
573
- i0.ɵɵconditionalCreate(6, QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_0_Conditional_6_Template, 3, 0, "button", 79);
573
+ i0.ɵɵconditionalCreate(6, MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_0_Conditional_6_Template, 3, 0, "button", 79);
574
574
  i0.ɵɵelementEnd();
575
575
  } if (rf & 2) {
576
576
  const ctx_r2 = i0.ɵɵnextContext(4);
577
577
  i0.ɵɵadvance(6);
578
578
  i0.ɵɵconditional(ctx_r2.EditMode ? 6 : -1);
579
579
  } }
580
- function QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
580
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
581
581
  const _r23 = i0.ɵɵgetCurrentView();
582
582
  i0.ɵɵelementStart(0, "div", 82)(1, "button", 80);
583
- i0.ɵɵlistener("click", function QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_1_Conditional_0_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r23); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.addEntity()); });
583
+ i0.ɵɵlistener("click", function MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_1_Conditional_0_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r23); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.addEntity()); });
584
584
  i0.ɵɵelement(2, "i", 81);
585
585
  i0.ɵɵtext(3, " Add Entity ");
586
586
  i0.ɵɵelementEnd()();
587
587
  } }
588
- function QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Conditional_5_Template(rf, ctx) { if (rf & 1) {
588
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Conditional_5_Template(rf, ctx) { if (rf & 1) {
589
589
  const _r24 = i0.ɵɵgetCurrentView();
590
590
  i0.ɵɵelementStart(0, "div", 120)(1, "kendo-dropdownlist", 121);
591
- i0.ɵɵtwoWayListener("ngModelChange", function QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Conditional_5_Template_kendo_dropdownlist_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r24); const entity_r25 = i0.ɵɵnextContext().$implicit; i0.ɵɵtwoWayBindingSet(entity_r25.EntityID, $event) || (entity_r25.EntityID = $event); return i0.ɵɵresetView($event); });
591
+ i0.ɵɵtwoWayListener("ngModelChange", function MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Conditional_5_Template_kendo_dropdownlist_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r24); const entity_r25 = i0.ɵɵnextContext().$implicit; i0.ɵɵtwoWayBindingSet(entity_r25.EntityID, $event) || (entity_r25.EntityID = $event); return i0.ɵɵresetView($event); });
592
592
  i0.ɵɵelementEnd()();
593
593
  } if (rf & 2) {
594
594
  const entity_r25 = i0.ɵɵnextContext().$implicit;
@@ -597,28 +597,28 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_C
597
597
  i0.ɵɵtwoWayProperty("ngModel", entity_r25.EntityID);
598
598
  i0.ɵɵproperty("name", "entity_" + entity_r25.ID)("data", ctx_r2.getEntityOptions())("valuePrimitive", true);
599
599
  } }
600
- function QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Conditional_6_Template(rf, ctx) { if (rf & 1) {
600
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Conditional_6_Template(rf, ctx) { if (rf & 1) {
601
601
  i0.ɵɵelementStart(0, "div", 91)(1, "div", 112)(2, "span", 113);
602
602
  i0.ɵɵelement(3, "i", 122);
603
603
  i0.ɵɵtext(4, " Data Source ");
604
604
  i0.ɵɵelementEnd()()();
605
605
  } }
606
- function QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Conditional_7_Template(rf, ctx) { if (rf & 1) {
606
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Conditional_7_Template(rf, ctx) { if (rf & 1) {
607
607
  const _r26 = i0.ɵɵgetCurrentView();
608
608
  i0.ɵɵelementStart(0, "div", 115)(1, "button", 123);
609
- i0.ɵɵlistener("click", function QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Conditional_7_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r26); const entity_r25 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.deleteEntity(entity_r25)); });
609
+ i0.ɵɵlistener("click", function MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Conditional_7_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r26); const entity_r25 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.deleteEntity(entity_r25)); });
610
610
  i0.ɵɵelement(2, "i", 100);
611
611
  i0.ɵɵelementEnd()();
612
612
  } }
613
- function QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Template(rf, ctx) { if (rf & 1) {
613
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Template(rf, ctx) { if (rf & 1) {
614
614
  i0.ɵɵelementStart(0, "div", 107)(1, "div", 86)(2, "div", 87);
615
615
  i0.ɵɵelement(3, "i", 119);
616
616
  i0.ɵɵtext(4);
617
617
  i0.ɵɵelementEnd();
618
- i0.ɵɵconditionalCreate(5, QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Conditional_5_Template, 2, 4, "div", 120);
618
+ i0.ɵɵconditionalCreate(5, MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Conditional_5_Template, 2, 4, "div", 120);
619
619
  i0.ɵɵelementEnd();
620
- i0.ɵɵconditionalCreate(6, QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Conditional_6_Template, 5, 0, "div", 91);
621
- i0.ɵɵconditionalCreate(7, QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Conditional_7_Template, 3, 0, "div", 115);
620
+ i0.ɵɵconditionalCreate(6, MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Conditional_6_Template, 5, 0, "div", 91);
621
+ i0.ɵɵconditionalCreate(7, MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Conditional_7_Template, 3, 0, "div", 115);
622
622
  i0.ɵɵelementEnd();
623
623
  } if (rf & 2) {
624
624
  const entity_r25 = ctx.$implicit;
@@ -632,10 +632,10 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_C
632
632
  i0.ɵɵadvance();
633
633
  i0.ɵɵconditional(ctx_r2.EditMode ? 7 : -1);
634
634
  } }
635
- function QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
636
- i0.ɵɵconditionalCreate(0, QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_1_Conditional_0_Template, 4, 0, "div", 82);
635
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
636
+ i0.ɵɵconditionalCreate(0, MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_1_Conditional_0_Template, 4, 0, "div", 82);
637
637
  i0.ɵɵelementStart(1, "div", 83);
638
- i0.ɵɵrepeaterCreate(2, QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Template, 8, 4, "div", 107, _forTrack2);
638
+ i0.ɵɵrepeaterCreate(2, MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_1_For_3_Template, 8, 4, "div", 107, _forTrack2);
639
639
  i0.ɵɵelementEnd();
640
640
  } if (rf & 2) {
641
641
  const ctx_r2 = i0.ɵɵnextContext(4);
@@ -643,19 +643,19 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_C
643
643
  i0.ɵɵadvance(2);
644
644
  i0.ɵɵrepeater(ctx_r2.queryEntities);
645
645
  } }
646
- function QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Template(rf, ctx) { if (rf & 1) {
647
- i0.ɵɵconditionalCreate(0, QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_0_Template, 7, 1, "div", 75)(1, QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Conditional_1_Template, 4, 1);
646
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Template(rf, ctx) { if (rf & 1) {
647
+ i0.ɵɵconditionalCreate(0, MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_0_Template, 7, 1, "div", 75)(1, MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Conditional_1_Template, 4, 1);
648
648
  } if (rf & 2) {
649
649
  const ctx_r2 = i0.ɵɵnextContext(3);
650
650
  i0.ɵɵconditional(ctx_r2.queryEntities.length === 0 ? 0 : 1);
651
651
  } }
652
- function QueryFormExtendedComponent_Conditional_1_Conditional_34_Template(rf, ctx) { if (rf & 1) {
652
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_34_Template(rf, ctx) { if (rf & 1) {
653
653
  const _r21 = i0.ɵɵgetCurrentView();
654
654
  i0.ɵɵelementStart(0, "kendo-expansionpanel", 23);
655
- i0.ɵɵtwoWayListener("expandedChange", function QueryFormExtendedComponent_Conditional_1_Conditional_34_Template_kendo_expansionpanel_expandedChange_0_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r2 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r2.entitiesPanelExpanded, $event) || (ctx_r2.entitiesPanelExpanded = $event); return i0.ɵɵresetView($event); });
656
- i0.ɵɵtemplate(1, QueryFormExtendedComponent_Conditional_1_Conditional_34_ng_template_1_Template, 4, 1, "ng-template", 24);
655
+ i0.ɵɵtwoWayListener("expandedChange", function MJQueryFormComponentExtended_Conditional_1_Conditional_34_Template_kendo_expansionpanel_expandedChange_0_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r2 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r2.entitiesPanelExpanded, $event) || (ctx_r2.entitiesPanelExpanded = $event); return i0.ɵɵresetView($event); });
656
+ i0.ɵɵtemplate(1, MJQueryFormComponentExtended_Conditional_1_Conditional_34_ng_template_1_Template, 4, 1, "ng-template", 24);
657
657
  i0.ɵɵelementStart(2, "div", 69);
658
- i0.ɵɵconditionalCreate(3, QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_3_Template, 2, 0, "div", 101)(4, QueryFormExtendedComponent_Conditional_1_Conditional_34_Conditional_4_Template, 2, 1);
658
+ i0.ɵɵconditionalCreate(3, MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_3_Template, 2, 0, "div", 101)(4, MJQueryFormComponentExtended_Conditional_1_Conditional_34_Conditional_4_Template, 2, 1);
659
659
  i0.ɵɵelementEnd()();
660
660
  } if (rf & 2) {
661
661
  const ctx_r2 = i0.ɵɵnextContext(2);
@@ -663,43 +663,43 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_34_Template(rf, ct
663
663
  i0.ɵɵadvance(3);
664
664
  i0.ɵɵconditional(ctx_r2.isLoadingEntities ? 3 : 4);
665
665
  } }
666
- function QueryFormExtendedComponent_Conditional_1_ng_template_36_Template(rf, ctx) { if (rf & 1) {
666
+ function MJQueryFormComponentExtended_Conditional_1_ng_template_36_Template(rf, ctx) { if (rf & 1) {
667
667
  i0.ɵɵelementStart(0, "span", 53);
668
668
  i0.ɵɵelement(1, "i", 124);
669
669
  i0.ɵɵtext(2, " Query Details ");
670
670
  i0.ɵɵelementEnd();
671
671
  } }
672
- function QueryFormExtendedComponent_Conditional_1_Conditional_43_Template(rf, ctx) { if (rf & 1) {
672
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_43_Template(rf, ctx) { if (rf & 1) {
673
673
  const _r27 = i0.ɵɵgetCurrentView();
674
674
  i0.ɵɵelementStart(0, "kendo-switch", 125);
675
- i0.ɵɵtwoWayListener("ngModelChange", function QueryFormExtendedComponent_Conditional_1_Conditional_43_Template_kendo_switch_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r27); const ctx_r2 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r2.record.UsesTemplate, $event) || (ctx_r2.record.UsesTemplate = $event); return i0.ɵɵresetView($event); });
675
+ i0.ɵɵtwoWayListener("ngModelChange", function MJQueryFormComponentExtended_Conditional_1_Conditional_43_Template_kendo_switch_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r27); const ctx_r2 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r2.record.UsesTemplate, $event) || (ctx_r2.record.UsesTemplate = $event); return i0.ɵɵresetView($event); });
676
676
  i0.ɵɵelementEnd();
677
677
  } if (rf & 2) {
678
678
  const ctx_r2 = i0.ɵɵnextContext(2);
679
679
  i0.ɵɵtwoWayProperty("ngModel", ctx_r2.record.UsesTemplate);
680
680
  } }
681
- function QueryFormExtendedComponent_Conditional_1_Conditional_44_Conditional_1_Template(rf, ctx) { if (rf & 1) {
681
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_44_Conditional_1_Template(rf, ctx) { if (rf & 1) {
682
682
  i0.ɵɵelementStart(0, "span", 126);
683
683
  i0.ɵɵelement(1, "i", 60);
684
684
  i0.ɵɵtext(2, " Uses Templates");
685
685
  i0.ɵɵelementEnd();
686
686
  } }
687
- function QueryFormExtendedComponent_Conditional_1_Conditional_44_Conditional_2_Template(rf, ctx) { if (rf & 1) {
687
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_44_Conditional_2_Template(rf, ctx) { if (rf & 1) {
688
688
  i0.ɵɵelementStart(0, "span", 74);
689
689
  i0.ɵɵelement(1, "i", 127);
690
690
  i0.ɵɵtext(2, " No Templates");
691
691
  i0.ɵɵelementEnd();
692
692
  } }
693
- function QueryFormExtendedComponent_Conditional_1_Conditional_44_Template(rf, ctx) { if (rf & 1) {
693
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_44_Template(rf, ctx) { if (rf & 1) {
694
694
  i0.ɵɵelementStart(0, "div", 35);
695
- i0.ɵɵconditionalCreate(1, QueryFormExtendedComponent_Conditional_1_Conditional_44_Conditional_1_Template, 3, 0, "span", 126)(2, QueryFormExtendedComponent_Conditional_1_Conditional_44_Conditional_2_Template, 3, 0, "span", 74);
695
+ i0.ɵɵconditionalCreate(1, MJQueryFormComponentExtended_Conditional_1_Conditional_44_Conditional_1_Template, 3, 0, "span", 126)(2, MJQueryFormComponentExtended_Conditional_1_Conditional_44_Conditional_2_Template, 3, 0, "span", 74);
696
696
  i0.ɵɵelementEnd();
697
697
  } if (rf & 2) {
698
698
  const ctx_r2 = i0.ɵɵnextContext(2);
699
699
  i0.ɵɵadvance();
700
700
  i0.ɵɵconditional(ctx_r2.record.UsesTemplate ? 1 : 2);
701
701
  } }
702
- function QueryFormExtendedComponent_Conditional_1_Conditional_57_Template(rf, ctx) { if (rf & 1) {
702
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_57_Template(rf, ctx) { if (rf & 1) {
703
703
  i0.ɵɵelementStart(0, "div", 31)(1, "label", 32);
704
704
  i0.ɵɵelement(2, "i", 128);
705
705
  i0.ɵɵtext(3, " Quality Rank ");
@@ -712,18 +712,18 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_57_Template(rf, ct
712
712
  i0.ɵɵadvance(5);
713
713
  i0.ɵɵtextInterpolate1("", ctx_r2.record.QualityRank, "/10");
714
714
  } }
715
- function QueryFormExtendedComponent_Conditional_1_Conditional_58_ng_template_1_Template(rf, ctx) { if (rf & 1) {
715
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_58_ng_template_1_Template(rf, ctx) { if (rf & 1) {
716
716
  i0.ɵɵelementStart(0, "span", 53);
717
717
  i0.ɵɵelement(1, "i", 129);
718
718
  i0.ɵɵtext(2, " Query Permissions ");
719
719
  i0.ɵɵelementEnd();
720
720
  } }
721
- function QueryFormExtendedComponent_Conditional_1_Conditional_58_Conditional_3_Template(rf, ctx) { if (rf & 1) {
721
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_58_Conditional_3_Template(rf, ctx) { if (rf & 1) {
722
722
  i0.ɵɵelementStart(0, "div", 101);
723
723
  i0.ɵɵelement(1, "i", 103);
724
724
  i0.ɵɵelementEnd();
725
725
  } }
726
- function QueryFormExtendedComponent_Conditional_1_Conditional_58_Conditional_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
726
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_58_Conditional_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
727
727
  i0.ɵɵelementStart(0, "div", 75);
728
728
  i0.ɵɵelement(1, "i", 130);
729
729
  i0.ɵɵelementStart(2, "h5", 105);
@@ -733,13 +733,13 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_58_Conditional_4_C
733
733
  i0.ɵɵtext(5, " This query uses default permissions. ");
734
734
  i0.ɵɵelementEnd()();
735
735
  } }
736
- function QueryFormExtendedComponent_Conditional_1_Conditional_58_Conditional_4_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
736
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_58_Conditional_4_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
737
737
  i0.ɵɵelement(0, "mj-explorer-entity-data-grid", 132);
738
738
  } if (rf & 2) {
739
739
  const ctx_r2 = i0.ɵɵnextContext(5);
740
740
  i0.ɵɵproperty("Params", ctx_r2.BuildRelationshipViewParamsByEntityName("MJ: Query Permissions", "QueryID"))("NewRecordValues", ctx_r2.NewRecordValues("MJ: Query Permissions"))("AllowLoad", true)("ShowToolbar", false);
741
741
  } }
742
- function QueryFormExtendedComponent_Conditional_1_Conditional_58_Conditional_4_Conditional_1_Conditional_1_For_2_Template(rf, ctx) { if (rf & 1) {
742
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_58_Conditional_4_Conditional_1_Conditional_1_For_2_Template(rf, ctx) { if (rf & 1) {
743
743
  i0.ɵɵelementStart(0, "div", 134)(1, "div", 9);
744
744
  i0.ɵɵelement(2, "i", 135);
745
745
  i0.ɵɵelementStart(3, "div", 136)(4, "div", 137);
@@ -757,34 +757,34 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_58_Conditional_4_C
757
757
  i0.ɵɵadvance(5);
758
758
  i0.ɵɵtextInterpolate1(" ", permission_r29.Role, " ");
759
759
  } }
760
- function QueryFormExtendedComponent_Conditional_1_Conditional_58_Conditional_4_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
760
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_58_Conditional_4_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
761
761
  i0.ɵɵelementStart(0, "div", 133);
762
- i0.ɵɵrepeaterCreate(1, QueryFormExtendedComponent_Conditional_1_Conditional_58_Conditional_4_Conditional_1_Conditional_1_For_2_Template, 12, 1, "div", 134, _forTrack2);
762
+ i0.ɵɵrepeaterCreate(1, MJQueryFormComponentExtended_Conditional_1_Conditional_58_Conditional_4_Conditional_1_Conditional_1_For_2_Template, 12, 1, "div", 134, _forTrack2);
763
763
  i0.ɵɵelementEnd();
764
764
  } if (rf & 2) {
765
765
  const ctx_r2 = i0.ɵɵnextContext(5);
766
766
  i0.ɵɵadvance();
767
767
  i0.ɵɵrepeater(ctx_r2.queryPermissions);
768
768
  } }
769
- function QueryFormExtendedComponent_Conditional_1_Conditional_58_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
770
- i0.ɵɵconditionalCreate(0, QueryFormExtendedComponent_Conditional_1_Conditional_58_Conditional_4_Conditional_1_Conditional_0_Template, 1, 4, "mj-explorer-entity-data-grid", 132)(1, QueryFormExtendedComponent_Conditional_1_Conditional_58_Conditional_4_Conditional_1_Conditional_1_Template, 3, 0, "div", 133);
769
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_58_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
770
+ i0.ɵɵconditionalCreate(0, MJQueryFormComponentExtended_Conditional_1_Conditional_58_Conditional_4_Conditional_1_Conditional_0_Template, 1, 4, "mj-explorer-entity-data-grid", 132)(1, MJQueryFormComponentExtended_Conditional_1_Conditional_58_Conditional_4_Conditional_1_Conditional_1_Template, 3, 0, "div", 133);
771
771
  } if (rf & 2) {
772
772
  const ctx_r2 = i0.ɵɵnextContext(4);
773
773
  i0.ɵɵconditional(ctx_r2.EditMode ? 0 : 1);
774
774
  } }
775
- function QueryFormExtendedComponent_Conditional_1_Conditional_58_Conditional_4_Template(rf, ctx) { if (rf & 1) {
776
- i0.ɵɵconditionalCreate(0, QueryFormExtendedComponent_Conditional_1_Conditional_58_Conditional_4_Conditional_0_Template, 6, 0, "div", 75)(1, QueryFormExtendedComponent_Conditional_1_Conditional_58_Conditional_4_Conditional_1_Template, 2, 1);
775
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_58_Conditional_4_Template(rf, ctx) { if (rf & 1) {
776
+ i0.ɵɵconditionalCreate(0, MJQueryFormComponentExtended_Conditional_1_Conditional_58_Conditional_4_Conditional_0_Template, 6, 0, "div", 75)(1, MJQueryFormComponentExtended_Conditional_1_Conditional_58_Conditional_4_Conditional_1_Template, 2, 1);
777
777
  } if (rf & 2) {
778
778
  const ctx_r2 = i0.ɵɵnextContext(3);
779
779
  i0.ɵɵconditional(ctx_r2.queryPermissions.length === 0 && !ctx_r2.EditMode ? 0 : 1);
780
780
  } }
781
- function QueryFormExtendedComponent_Conditional_1_Conditional_58_Template(rf, ctx) { if (rf & 1) {
781
+ function MJQueryFormComponentExtended_Conditional_1_Conditional_58_Template(rf, ctx) { if (rf & 1) {
782
782
  const _r28 = i0.ɵɵgetCurrentView();
783
783
  i0.ɵɵelementStart(0, "kendo-expansionpanel", 23);
784
- i0.ɵɵtwoWayListener("expandedChange", function QueryFormExtendedComponent_Conditional_1_Conditional_58_Template_kendo_expansionpanel_expandedChange_0_listener($event) { i0.ɵɵrestoreView(_r28); const ctx_r2 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r2.permissionsPanelExpanded, $event) || (ctx_r2.permissionsPanelExpanded = $event); return i0.ɵɵresetView($event); });
785
- i0.ɵɵtemplate(1, QueryFormExtendedComponent_Conditional_1_Conditional_58_ng_template_1_Template, 3, 0, "ng-template", 24);
784
+ i0.ɵɵtwoWayListener("expandedChange", function MJQueryFormComponentExtended_Conditional_1_Conditional_58_Template_kendo_expansionpanel_expandedChange_0_listener($event) { i0.ɵɵrestoreView(_r28); const ctx_r2 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r2.permissionsPanelExpanded, $event) || (ctx_r2.permissionsPanelExpanded = $event); return i0.ɵɵresetView($event); });
785
+ i0.ɵɵtemplate(1, MJQueryFormComponentExtended_Conditional_1_Conditional_58_ng_template_1_Template, 3, 0, "ng-template", 24);
786
786
  i0.ɵɵelementStart(2, "div", 69);
787
- i0.ɵɵconditionalCreate(3, QueryFormExtendedComponent_Conditional_1_Conditional_58_Conditional_3_Template, 2, 0, "div", 101)(4, QueryFormExtendedComponent_Conditional_1_Conditional_58_Conditional_4_Template, 2, 1);
787
+ i0.ɵɵconditionalCreate(3, MJQueryFormComponentExtended_Conditional_1_Conditional_58_Conditional_3_Template, 2, 0, "div", 101)(4, MJQueryFormComponentExtended_Conditional_1_Conditional_58_Conditional_4_Template, 2, 1);
788
788
  i0.ɵɵelementEnd()();
789
789
  } if (rf & 2) {
790
790
  const ctx_r2 = i0.ɵɵnextContext(2);
@@ -792,48 +792,48 @@ function QueryFormExtendedComponent_Conditional_1_Conditional_58_Template(rf, ct
792
792
  i0.ɵɵadvance(3);
793
793
  i0.ɵɵconditional(ctx_r2.isLoadingPermissions ? 3 : 4);
794
794
  } }
795
- function QueryFormExtendedComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
795
+ function MJQueryFormComponentExtended_Conditional_1_Template(rf, ctx) { if (rf & 1) {
796
796
  const _r1 = i0.ɵɵgetCurrentView();
797
797
  i0.ɵɵelementStart(0, "form", 3, 0);
798
798
  i0.ɵɵelement(2, "mj-form-toolbar", 4);
799
799
  i0.ɵɵelementStart(3, "div", 5)(4, "div", 6)(5, "div", 7)(6, "div", 8)(7, "div", 9);
800
800
  i0.ɵɵelement(8, "i", 10);
801
- i0.ɵɵconditionalCreate(9, QueryFormExtendedComponent_Conditional_1_Conditional_9_Template, 1, 1, "kendo-textbox", 11)(10, QueryFormExtendedComponent_Conditional_1_Conditional_10_Template, 2, 1, "h4", 12);
801
+ i0.ɵɵconditionalCreate(9, MJQueryFormComponentExtended_Conditional_1_Conditional_9_Template, 1, 1, "kendo-textbox", 11)(10, MJQueryFormComponentExtended_Conditional_1_Conditional_10_Template, 2, 1, "h4", 12);
802
802
  i0.ɵɵelementEnd()();
803
803
  i0.ɵɵelementStart(11, "div", 13);
804
- i0.ɵɵconditionalCreate(12, QueryFormExtendedComponent_Conditional_1_Conditional_12_Template, 3, 3, "button", 14);
804
+ i0.ɵɵconditionalCreate(12, MJQueryFormComponentExtended_Conditional_1_Conditional_12_Template, 3, 3, "button", 14);
805
805
  i0.ɵɵelementEnd()();
806
806
  i0.ɵɵelementStart(13, "div", 15)(14, "div", 9)(15, "label", 16);
807
807
  i0.ɵɵtext(16, "Category:");
808
808
  i0.ɵɵelementEnd();
809
- i0.ɵɵconditionalCreate(17, QueryFormExtendedComponent_Conditional_1_Conditional_17_Template, 1, 3, "kendo-dropdownlist", 17)(18, QueryFormExtendedComponent_Conditional_1_Conditional_18_Template, 2, 1, "span", 18);
809
+ i0.ɵɵconditionalCreate(17, MJQueryFormComponentExtended_Conditional_1_Conditional_17_Template, 1, 3, "kendo-dropdownlist", 17)(18, MJQueryFormComponentExtended_Conditional_1_Conditional_18_Template, 2, 1, "span", 18);
810
810
  i0.ɵɵelementEnd();
811
811
  i0.ɵɵelementStart(19, "div", 9)(20, "label", 19);
812
812
  i0.ɵɵtext(21, "Status:");
813
813
  i0.ɵɵelementEnd();
814
- i0.ɵɵconditionalCreate(22, QueryFormExtendedComponent_Conditional_1_Conditional_22_Template, 1, 3, "kendo-dropdownlist", 20)(23, QueryFormExtendedComponent_Conditional_1_Conditional_23_Template, 5, 6, "span", 21);
814
+ i0.ɵɵconditionalCreate(22, MJQueryFormComponentExtended_Conditional_1_Conditional_22_Template, 1, 3, "kendo-dropdownlist", 20)(23, MJQueryFormComponentExtended_Conditional_1_Conditional_23_Template, 5, 6, "span", 21);
815
815
  i0.ɵɵelementEnd()();
816
- i0.ɵɵconditionalCreate(24, QueryFormExtendedComponent_Conditional_1_Conditional_24_Template, 3, 1, "div");
816
+ i0.ɵɵconditionalCreate(24, MJQueryFormComponentExtended_Conditional_1_Conditional_24_Template, 3, 1, "div");
817
817
  i0.ɵɵelementEnd()();
818
818
  i0.ɵɵelementStart(25, "div", 22)(26, "kendo-expansionpanel", 23);
819
- i0.ɵɵtwoWayListener("expandedChange", function QueryFormExtendedComponent_Conditional_1_Template_kendo_expansionpanel_expandedChange_26_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.sqlPanelExpanded, $event) || (ctx_r2.sqlPanelExpanded = $event); return i0.ɵɵresetView($event); });
820
- i0.ɵɵtemplate(27, QueryFormExtendedComponent_Conditional_1_ng_template_27_Template, 10, 2, "ng-template", 24);
819
+ i0.ɵɵtwoWayListener("expandedChange", function MJQueryFormComponentExtended_Conditional_1_Template_kendo_expansionpanel_expandedChange_26_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.sqlPanelExpanded, $event) || (ctx_r2.sqlPanelExpanded = $event); return i0.ɵɵresetView($event); });
820
+ i0.ɵɵtemplate(27, MJQueryFormComponentExtended_Conditional_1_ng_template_27_Template, 10, 2, "ng-template", 24);
821
821
  i0.ɵɵelementStart(28, "div", 25)(29, "mj-code-editor", 26, 1);
822
- i0.ɵɵlistener("change", function QueryFormExtendedComponent_Conditional_1_Template_mj_code_editor_change_29_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onSQLChange($event)); });
822
+ i0.ɵɵlistener("change", function MJQueryFormComponentExtended_Conditional_1_Template_mj_code_editor_change_29_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onSQLChange($event)); });
823
823
  i0.ɵɵelementEnd();
824
- i0.ɵɵconditionalCreate(31, QueryFormExtendedComponent_Conditional_1_Conditional_31_Template, 7, 0, "div", 27);
824
+ i0.ɵɵconditionalCreate(31, MJQueryFormComponentExtended_Conditional_1_Conditional_31_Template, 7, 0, "div", 27);
825
825
  i0.ɵɵelementEnd()();
826
- i0.ɵɵconditionalCreate(32, QueryFormExtendedComponent_Conditional_1_Conditional_32_Template, 5, 2, "kendo-expansionpanel", 28);
827
- i0.ɵɵconditionalCreate(33, QueryFormExtendedComponent_Conditional_1_Conditional_33_Template, 5, 2, "kendo-expansionpanel", 28);
828
- i0.ɵɵconditionalCreate(34, QueryFormExtendedComponent_Conditional_1_Conditional_34_Template, 5, 2, "kendo-expansionpanel", 28);
826
+ i0.ɵɵconditionalCreate(32, MJQueryFormComponentExtended_Conditional_1_Conditional_32_Template, 5, 2, "kendo-expansionpanel", 28);
827
+ i0.ɵɵconditionalCreate(33, MJQueryFormComponentExtended_Conditional_1_Conditional_33_Template, 5, 2, "kendo-expansionpanel", 28);
828
+ i0.ɵɵconditionalCreate(34, MJQueryFormComponentExtended_Conditional_1_Conditional_34_Template, 5, 2, "kendo-expansionpanel", 28);
829
829
  i0.ɵɵelementStart(35, "kendo-expansionpanel", 23);
830
- i0.ɵɵtwoWayListener("expandedChange", function QueryFormExtendedComponent_Conditional_1_Template_kendo_expansionpanel_expandedChange_35_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.detailsPanelExpanded, $event) || (ctx_r2.detailsPanelExpanded = $event); return i0.ɵɵresetView($event); });
831
- i0.ɵɵtemplate(36, QueryFormExtendedComponent_Conditional_1_ng_template_36_Template, 3, 0, "ng-template", 24);
830
+ i0.ɵɵtwoWayListener("expandedChange", function MJQueryFormComponentExtended_Conditional_1_Template_kendo_expansionpanel_expandedChange_35_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.detailsPanelExpanded, $event) || (ctx_r2.detailsPanelExpanded = $event); return i0.ɵɵresetView($event); });
831
+ i0.ɵɵtemplate(36, MJQueryFormComponentExtended_Conditional_1_ng_template_36_Template, 3, 0, "ng-template", 24);
832
832
  i0.ɵɵelementStart(37, "div", 29)(38, "div", 30)(39, "div", 31)(40, "label", 32);
833
833
  i0.ɵɵelement(41, "i", 33);
834
834
  i0.ɵɵtext(42, " Template Usage ");
835
835
  i0.ɵɵelementEnd();
836
- i0.ɵɵconditionalCreate(43, QueryFormExtendedComponent_Conditional_1_Conditional_43_Template, 1, 1, "kendo-switch", 34)(44, QueryFormExtendedComponent_Conditional_1_Conditional_44_Template, 3, 1, "div", 35);
836
+ i0.ɵɵconditionalCreate(43, MJQueryFormComponentExtended_Conditional_1_Conditional_43_Template, 1, 1, "kendo-switch", 34)(44, MJQueryFormComponentExtended_Conditional_1_Conditional_44_Template, 3, 1, "div", 35);
837
837
  i0.ɵɵelementEnd();
838
838
  i0.ɵɵelementStart(45, "div", 31)(46, "label", 32);
839
839
  i0.ɵɵelement(47, "i", 36);
@@ -849,17 +849,17 @@ function QueryFormExtendedComponent_Conditional_1_Template(rf, ctx) { if (rf & 1
849
849
  i0.ɵɵelementStart(55, "div", 35);
850
850
  i0.ɵɵtext(56);
851
851
  i0.ɵɵelementEnd()();
852
- i0.ɵɵconditionalCreate(57, QueryFormExtendedComponent_Conditional_1_Conditional_57_Template, 6, 1, "div", 31);
852
+ i0.ɵɵconditionalCreate(57, MJQueryFormComponentExtended_Conditional_1_Conditional_57_Template, 6, 1, "div", 31);
853
853
  i0.ɵɵelementEnd()()();
854
- i0.ɵɵconditionalCreate(58, QueryFormExtendedComponent_Conditional_1_Conditional_58_Template, 5, 2, "kendo-expansionpanel", 28);
854
+ i0.ɵɵconditionalCreate(58, MJQueryFormComponentExtended_Conditional_1_Conditional_58_Template, 5, 2, "kendo-expansionpanel", 28);
855
855
  i0.ɵɵelementEnd()();
856
856
  i0.ɵɵelementStart(59, "mj-query-run-dialog", 38);
857
- i0.ɵɵtwoWayListener("isVisibleChange", function QueryFormExtendedComponent_Conditional_1_Template_mj_query_run_dialog_isVisibleChange_59_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.showRunDialog, $event) || (ctx_r2.showRunDialog = $event); return i0.ɵɵresetView($event); });
858
- i0.ɵɵlistener("onClose", function QueryFormExtendedComponent_Conditional_1_Template_mj_query_run_dialog_onClose_59_listener() { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onRunDialogClose()); });
857
+ i0.ɵɵtwoWayListener("isVisibleChange", function MJQueryFormComponentExtended_Conditional_1_Template_mj_query_run_dialog_isVisibleChange_59_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.showRunDialog, $event) || (ctx_r2.showRunDialog = $event); return i0.ɵɵresetView($event); });
858
+ i0.ɵɵlistener("onClose", function MJQueryFormComponentExtended_Conditional_1_Template_mj_query_run_dialog_onClose_59_listener() { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onRunDialogClose()); });
859
859
  i0.ɵɵelementEnd();
860
860
  i0.ɵɵelementStart(60, "mj-query-category-dialog", 39);
861
- i0.ɵɵtwoWayListener("isVisibleChange", function QueryFormExtendedComponent_Conditional_1_Template_mj_query_category_dialog_isVisibleChange_60_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.showCategoryDialog, $event) || (ctx_r2.showCategoryDialog = $event); return i0.ɵɵresetView($event); });
862
- i0.ɵɵlistener("onCategoryCreated", function QueryFormExtendedComponent_Conditional_1_Template_mj_query_category_dialog_onCategoryCreated_60_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onCategoryCreated($event)); });
861
+ i0.ɵɵtwoWayListener("isVisibleChange", function MJQueryFormComponentExtended_Conditional_1_Template_mj_query_category_dialog_isVisibleChange_60_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.showCategoryDialog, $event) || (ctx_r2.showCategoryDialog = $event); return i0.ɵɵresetView($event); });
862
+ i0.ɵɵlistener("onCategoryCreated", function MJQueryFormComponentExtended_Conditional_1_Template_mj_query_category_dialog_onCategoryCreated_60_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onCategoryCreated($event)); });
863
863
  i0.ɵɵelementEnd();
864
864
  } if (rf & 2) {
865
865
  const ctx_r2 = i0.ɵɵnextContext();
@@ -905,7 +905,7 @@ function QueryFormExtendedComponent_Conditional_1_Template(rf, ctx) { if (rf & 1
905
905
  i0.ɵɵadvance();
906
906
  i0.ɵɵtwoWayProperty("isVisible", ctx_r2.showCategoryDialog);
907
907
  } }
908
- let QueryFormExtendedComponent = class QueryFormExtendedComponent extends MJQueryFormComponent {
908
+ let MJQueryFormComponentExtended = class MJQueryFormComponentExtended extends MJQueryFormComponent {
909
909
  constructor() {
910
910
  super(...arguments);
911
911
  this.queryParameters = [];
@@ -969,17 +969,6 @@ let QueryFormExtendedComponent = class QueryFormExtendedComponent extends MJQuer
969
969
  this.sqlEditor?.setEditable(this.EditMode);
970
970
  // Set initial SQL value in the editor
971
971
  this.updateEditorValue();
972
- // Ensure all form controls are properly initialized with data
973
- setTimeout(() => {
974
- // Force Angular to update all bindings
975
- this.cdr.detectChanges();
976
- // If in edit mode, trigger another update to ensure Kendo components are initialized
977
- if (this.EditMode) {
978
- setTimeout(() => {
979
- this.cdr.detectChanges();
980
- }, 50);
981
- }
982
- }, 100);
983
972
  }
984
973
  EndEditMode() {
985
974
  super.EndEditMode();
@@ -1261,6 +1250,7 @@ let QueryFormExtendedComponent = class QueryFormExtendedComponent extends MJQuer
1261
1250
  }
1262
1251
  // Reload parameters in case they were updated
1263
1252
  await this.loadQueryParameters();
1253
+ this.cdr.detectChanges();
1264
1254
  // Show the run dialog
1265
1255
  this.showRunDialog = true;
1266
1256
  }
@@ -1408,6 +1398,7 @@ let QueryFormExtendedComponent = class QueryFormExtendedComponent extends MJQuer
1408
1398
  this.loadQueryFields(),
1409
1399
  this.loadQueryEntities()
1410
1400
  ]);
1401
+ this.cdr.detectChanges();
1411
1402
  }
1412
1403
  }
1413
1404
  return result;
@@ -1533,31 +1524,31 @@ let QueryFormExtendedComponent = class QueryFormExtendedComponent extends MJQuer
1533
1524
  GridEditMode() {
1534
1525
  return this.EditMode ? "Queue" : "None";
1535
1526
  }
1536
- static { this.ɵfac = /*@__PURE__*/ (() => { let ɵQueryFormExtendedComponent_BaseFactory; return function QueryFormExtendedComponent_Factory(__ngFactoryType__) { return (ɵQueryFormExtendedComponent_BaseFactory || (ɵQueryFormExtendedComponent_BaseFactory = i0.ɵɵgetInheritedFactory(QueryFormExtendedComponent)))(__ngFactoryType__ || QueryFormExtendedComponent); }; })(); }
1537
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryFormExtendedComponent, selectors: [["mj-query-form"]], viewQuery: function QueryFormExtendedComponent_Query(rf, ctx) { if (rf & 1) {
1527
+ static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJQueryFormComponentExtended_BaseFactory; return function MJQueryFormComponentExtended_Factory(__ngFactoryType__) { return (ɵMJQueryFormComponentExtended_BaseFactory || (ɵMJQueryFormComponentExtended_BaseFactory = i0.ɵɵgetInheritedFactory(MJQueryFormComponentExtended)))(__ngFactoryType__ || MJQueryFormComponentExtended); }; })(); }
1528
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJQueryFormComponentExtended, selectors: [["mj-query-form"]], viewQuery: function MJQueryFormComponentExtended_Query(rf, ctx) { if (rf & 1) {
1538
1529
  i0.ɵɵviewQuery(_c0, 5);
1539
1530
  } if (rf & 2) {
1540
1531
  let _t;
1541
1532
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sqlEditor = _t.first);
1542
- } }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [["form", "ngForm"], ["sqlEditor", ""], [1, "record-form-container", 2, "height", "100%", "display", "flex", "flex-direction", "column"], [1, "record-form", 2, "display", "flex", "flex-direction", "column", "height", "100%", "overflow", "hidden"], [3, "Form"], [1, "query-header", 2, "flex-shrink", "0", "background", "#f8f9fa", "border-bottom", "1px solid #dee2e6", "padding", "20px"], [2, "display", "flex", "flex-direction", "column", "gap", "16px"], [2, "display", "flex", "justify-content", "space-between", "align-items", "flex-start", "gap", "20px"], [2, "flex", "1", "min-width", "0"], [2, "display", "flex", "align-items", "center", "gap", "12px"], [1, "fa-solid", "fa-database", 2, "color", "#17a2b8", "font-size", "1.4em"], ["name", "queryName", "placeholder", "Enter query name...", 2, "font-size", "1.2em", "font-weight", "600", "min-width", "300px", "flex", "1", 3, "ngModel"], [2, "margin", "0", "color", "#495057", "font-weight", "600", "flex", "1"], [1, "action-buttons", 2, "display", "flex", "gap", "8px", "align-items", "center"], ["kendoButton", "", "title", "Run Query", 3, "themeColor", "size", "disabled"], [2, "display", "grid", "grid-template-columns", "1fr auto", "gap", "24px", "align-items", "center"], [2, "font-weight", "600", "color", "#495057", "min-width", "80px"], ["name", "categoryId", "textField", "text", "valueField", "value", "placeholder", "Select category...", 2, "flex", "1", 3, "ngModel", "data", "valuePrimitive"], [2, "color", "#495057"], [2, "font-weight", "600", "color", "#495057", "min-width", "50px"], ["name", "status", "textField", "text", "valueField", "value", 2, "flex", "1", 3, "ngModel", "data", "valuePrimitive"], [1, "badge", 2, "color", "white", "padding", "6px 12px", "border-radius", "12px", "font-size", "0.85em", 3, "background"], [1, "query-content", 2, "flex", "1", "min-height", "0", "padding", "20px", "overflow-y", "auto", "background", "#f5f7fa"], [2, "margin-bottom", "16px", 3, "expandedChange", "expanded"], ["kendoExpansionPanelTitleDirective", ""], [2, "display", "flex", "flex-direction", "column"], [2, "flex", "1", "height", "400px", "border", "1px solid #ced4da", "border-radius", "4px", 3, "change", "language"], [1, "filters-help", 2, "background", "#f8f9fa", "border", "1px solid #dee2e6", "border-radius", "6px", "padding", "16px", "margin-top", "16px"], [2, "margin-bottom", "16px", 3, "expanded"], [2, "padding", "20px"], [1, "details-grid"], [1, "detail-item"], [1, "detail-label"], [1, "fa-solid", "fa-file-code"], ["name", "usesTemplate", 3, "ngModel"], [1, "detail-value"], [1, "fa-solid", "fa-calendar-plus"], [1, "fa-solid", "fa-calendar-check"], [3, "isVisibleChange", "onClose", "query", "parameters", "isVisible"], [3, "isVisibleChange", "onCategoryCreated", "isVisible"], ["name", "queryName", "placeholder", "Enter query name...", 2, "font-size", "1.2em", "font-weight", "600", "min-width", "300px", "flex", "1", 3, "ngModelChange", "ngModel"], ["kendoButton", "", "title", "Run Query", 3, "click", "themeColor", "size", "disabled"], [1, "fa-solid", "fa-play"], ["name", "categoryId", "textField", "text", "valueField", "value", "placeholder", "Select category...", 2, "flex", "1", 3, "ngModelChange", "ngModel", "data", "valuePrimitive"], ["name", "status", "textField", "text", "valueField", "value", 2, "flex", "1", 3, "ngModelChange", "ngModel", "data", "valuePrimitive"], [1, "badge", 2, "color", "white", "padding", "6px 12px", "border-radius", "12px", "font-size", "0.85em"], [1, "fa-solid", "fa-check-circle"], [1, "fa-solid", "fa-clock"], [1, "fa-solid", "fa-times-circle"], ["name", "description", "placeholder", "Enter query description...", 2, "width", "100%", 3, "ngModel", "rows"], [2, "margin", "0", "color", "#6c757d", "font-size", "0.9em", "line-height", "1.4"], ["name", "description", "placeholder", "Enter query description...", 2, "width", "100%", 3, "ngModelChange", "ngModel", "rows"], [2, "display", "flex", "align-items", "center", "justify-content", "space-between", "width", "100%"], [2, "display", "flex", "align-items", "center", "gap", "8px", "font-weight", "600"], [1, "fa-solid", "fa-code", 2, "color", "#17a2b8"], [1, "badge", 2, "background", "#28a745", "color", "white", "padding", "2px 6px", "border-radius", "10px", "font-size", "0.7em"], ["type", "button", "kendoButton", "", "fillMode", "flat", "size", "small", "title", "Show/hide SQL filters help", 2, "margin-right", "8px", 3, "click"], [1, "fa-solid", "fa-question-circle"], [2, "margin-left", "4px"], [1, "fa-solid", 2, "margin-left", "4px", 3, "ngClass"], [1, "fa-solid", "fa-check"], [2, "margin", "0 0 12px 0", "color", "#495057", "font-weight", "600"], [1, "fa-solid", "fa-filter"], [2, "display", "grid", "grid-template-columns", "repeat(auto-fit, minmax(300px, 1fr))", "gap", "12px"], [1, "filter-card", 2, "background", "white", "border", "1px solid #e9ecef", "border-radius", "4px", "padding", "12px"], [2, "font-family", "'Courier New', monospace", "font-weight", "bold", "color", "#007bff", "margin-bottom", "4px"], [2, "font-size", "0.85em", "color", "#495057", "margin-bottom", "8px"], [2, "font-family", "'Courier New', monospace", "font-size", "0.8em", "background", "#f1f3f4", "padding", "6px", "border-radius", "3px", "margin-bottom", "4px"], [2, "font-size", "0.75em", "color", "#6c757d", "font-style", "italic"], [2, "padding", "16px 0"], [2, "display", "flex", "align-items", "center", "justify-content", "center", "padding", "40px"], [1, "fa-solid", "fa-sliders", 2, "color", "#6c757d"], [1, "badge", 2, "background", "#17a2b8", "color", "white", "padding", "2px 6px", "border-radius", "10px", "font-size", "0.7em"], [1, "fa-solid", "fa-spinner", "fa-spin", 2, "font-size", "24px", "color", "#6c757d", "margin-right", "12px"], [2, "color", "#6c757d"], [1, "empty-state"], [1, "fa-solid", "fa-sliders", "empty-state-icon"], [1, "empty-state-title"], [1, "empty-state-text"], ["type", "button", 1, "add-param-btn"], ["type", "button", 1, "add-param-btn", 3, "click"], [1, "fa-solid", "fa-plus"], [2, "display", "flex", "justify-content", "flex-end", "margin-bottom", "16px", "padding", "0 20px"], [1, "parameters-grid"], [1, "param-card", 3, "required"], [1, "param-card", 3, "click"], [1, "param-card-header"], [1, "param-name"], [1, "fa-solid", "fa-at", 2, "color", "#007bff"], [1, "param-badges"], [1, "param-badge", "required"], [1, "param-card-body"], [2, "margin-bottom", "8px"], [2, "display", "flex", "gap", "16px", "font-size", "0.85em"], [1, "param-actions"], [2, "background", "#f1f3f4", "padding", "2px 4px", "border-radius", "3px"], [1, "param-actions", 3, "click"], ["type", "button", "title", "Edit parameter", 1, "param-action-btn", 3, "click"], [1, "fa-solid", "fa-pen"], ["type", "button", "title", "Delete parameter", 1, "param-action-btn", "delete", 3, "click"], [1, "fa-solid", "fa-trash"], [2, "display", "flex", "justify-content", "center", "padding", "40px"], [1, "fa-solid", "fa-table", 2, "color", "#6c757d"], [1, "fa-solid", "fa-spinner", "fa-spin", 2, "font-size", "2em", "color", "#007bff"], [1, "fa-solid", "fa-table", 2, "font-size", "3em", "color", "#dee2e6", "margin-bottom", "12px"], [2, "color", "#6c757d", "margin-bottom", "8px"], [2, "color", "#adb5bd", "margin-bottom", "16px"], [1, "param-card"], [1, "fa-solid", "fa-columns", 2, "color", "#17a2b8"], [1, "param-badge", 2, "background", "#e3f2fd", "color", "#1976d2"], [1, "param-badge", 2, "background", "#f3e5f5", "color", "#7b1fa2"], [1, "param-description"], [1, "param-meta"], [1, "meta-item"], [1, "fa-solid", "fa-code"], [1, "param-card-actions"], ["type", "button", "title", "Delete field", 1, "action-btn", "danger", 3, "click"], [1, "fa-solid", "fa-database", 2, "color", "#6c757d"], [1, "fa-solid", "fa-database", 2, "font-size", "3em", "color", "#dee2e6", "margin-bottom", "12px"], [1, "fa-solid", "fa-table", 2, "color", "#28a745"], [2, "flex", "1", "margin-left", "12px"], ["textField", "text", "valueField", "id", "placeholder", "Select entity...", 2, "width", "100%", 3, "ngModelChange", "ngModel", "name", "data", "valuePrimitive"], [1, "fa-solid", "fa-database"], ["type", "button", "title", "Delete entity", 1, "action-btn", "danger", 3, "click"], [1, "fa-solid", "fa-info-circle", 2, "color", "#6c757d"], ["name", "usesTemplate", 3, "ngModelChange", "ngModel"], [2, "color", "#28a745"], [1, "fa-solid", "fa-times"], [1, "fa-solid", "fa-star"], [1, "fa-solid", "fa-shield-alt", 2, "color", "#6c757d"], [1, "fa-solid", "fa-shield-alt", 2, "font-size", "3em", "color", "#dee2e6", "margin-bottom", "12px"], [2, "color", "#adb5bd"], [3, "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"], [1, "permissions-display"], [1, "permission-card", 2, "background", "#f8f9fa", "border", "1px solid #dee2e6", "border-radius", "8px", "padding", "16px", "margin-bottom", "12px"], [1, "fa-solid", "fa-users", 2, "font-size", "1.5em", "color", "#6c757d"], [2, "flex", "1"], [2, "font-weight", "600", "color", "#495057"], [2, "font-size", "0.85em", "color", "#6c757d"], [2, "display", "flex", "gap", "8px"], [1, "permission-badge", 2, "background", "#6f42c1", "color", "white", "padding", "4px 8px", "border-radius", "4px", "font-size", "0.8em"]], template: function QueryFormExtendedComponent_Template(rf, ctx) { if (rf & 1) {
1533
+ } }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [["form", "ngForm"], ["sqlEditor", ""], [1, "record-form-container", 2, "height", "100%", "display", "flex", "flex-direction", "column"], [1, "record-form", 2, "display", "flex", "flex-direction", "column", "height", "100%", "overflow", "hidden"], [3, "Form"], [1, "query-header", 2, "flex-shrink", "0", "background", "#f8f9fa", "border-bottom", "1px solid #dee2e6", "padding", "20px"], [2, "display", "flex", "flex-direction", "column", "gap", "16px"], [2, "display", "flex", "justify-content", "space-between", "align-items", "flex-start", "gap", "20px"], [2, "flex", "1", "min-width", "0"], [2, "display", "flex", "align-items", "center", "gap", "12px"], [1, "fa-solid", "fa-database", 2, "color", "#17a2b8", "font-size", "1.4em"], ["name", "queryName", "placeholder", "Enter query name...", 2, "font-size", "1.2em", "font-weight", "600", "min-width", "300px", "flex", "1", 3, "ngModel"], [2, "margin", "0", "color", "#495057", "font-weight", "600", "flex", "1"], [1, "action-buttons", 2, "display", "flex", "gap", "8px", "align-items", "center"], ["kendoButton", "", "title", "Run Query", 3, "themeColor", "size", "disabled"], [2, "display", "grid", "grid-template-columns", "1fr auto", "gap", "24px", "align-items", "center"], [2, "font-weight", "600", "color", "#495057", "min-width", "80px"], ["name", "categoryId", "textField", "text", "valueField", "value", "placeholder", "Select category...", 2, "flex", "1", 3, "ngModel", "data", "valuePrimitive"], [2, "color", "#495057"], [2, "font-weight", "600", "color", "#495057", "min-width", "50px"], ["name", "status", "textField", "text", "valueField", "value", 2, "flex", "1", 3, "ngModel", "data", "valuePrimitive"], [1, "badge", 2, "color", "white", "padding", "6px 12px", "border-radius", "12px", "font-size", "0.85em", 3, "background"], [1, "query-content", 2, "flex", "1", "min-height", "0", "padding", "20px", "overflow-y", "auto", "background", "#f5f7fa"], [2, "margin-bottom", "16px", 3, "expandedChange", "expanded"], ["kendoExpansionPanelTitleDirective", ""], [2, "display", "flex", "flex-direction", "column"], [2, "flex", "1", "height", "400px", "border", "1px solid #ced4da", "border-radius", "4px", 3, "change", "language"], [1, "filters-help", 2, "background", "#f8f9fa", "border", "1px solid #dee2e6", "border-radius", "6px", "padding", "16px", "margin-top", "16px"], [2, "margin-bottom", "16px", 3, "expanded"], [2, "padding", "20px"], [1, "details-grid"], [1, "detail-item"], [1, "detail-label"], [1, "fa-solid", "fa-file-code"], ["name", "usesTemplate", 3, "ngModel"], [1, "detail-value"], [1, "fa-solid", "fa-calendar-plus"], [1, "fa-solid", "fa-calendar-check"], [3, "isVisibleChange", "onClose", "query", "parameters", "isVisible"], [3, "isVisibleChange", "onCategoryCreated", "isVisible"], ["name", "queryName", "placeholder", "Enter query name...", 2, "font-size", "1.2em", "font-weight", "600", "min-width", "300px", "flex", "1", 3, "ngModelChange", "ngModel"], ["kendoButton", "", "title", "Run Query", 3, "click", "themeColor", "size", "disabled"], [1, "fa-solid", "fa-play"], ["name", "categoryId", "textField", "text", "valueField", "value", "placeholder", "Select category...", 2, "flex", "1", 3, "ngModelChange", "ngModel", "data", "valuePrimitive"], ["name", "status", "textField", "text", "valueField", "value", 2, "flex", "1", 3, "ngModelChange", "ngModel", "data", "valuePrimitive"], [1, "badge", 2, "color", "white", "padding", "6px 12px", "border-radius", "12px", "font-size", "0.85em"], [1, "fa-solid", "fa-check-circle"], [1, "fa-solid", "fa-clock"], [1, "fa-solid", "fa-times-circle"], ["name", "description", "placeholder", "Enter query description...", 2, "width", "100%", 3, "ngModel", "rows"], [2, "margin", "0", "color", "#6c757d", "font-size", "0.9em", "line-height", "1.4"], ["name", "description", "placeholder", "Enter query description...", 2, "width", "100%", 3, "ngModelChange", "ngModel", "rows"], [2, "display", "flex", "align-items", "center", "justify-content", "space-between", "width", "100%"], [2, "display", "flex", "align-items", "center", "gap", "8px", "font-weight", "600"], [1, "fa-solid", "fa-code", 2, "color", "#17a2b8"], [1, "badge", 2, "background", "#28a745", "color", "white", "padding", "2px 6px", "border-radius", "10px", "font-size", "0.7em"], ["type", "button", "kendoButton", "", "fillMode", "flat", "size", "small", "title", "Show/hide SQL filters help", 2, "margin-right", "8px", 3, "click"], [1, "fa-solid", "fa-question-circle"], [2, "margin-left", "4px"], [1, "fa-solid", 2, "margin-left", "4px", 3, "ngClass"], [1, "fa-solid", "fa-check"], [2, "margin", "0 0 12px 0", "color", "#495057", "font-weight", "600"], [1, "fa-solid", "fa-filter"], [2, "display", "grid", "grid-template-columns", "repeat(auto-fit, minmax(300px, 1fr))", "gap", "12px"], [1, "filter-card", 2, "background", "white", "border", "1px solid #e9ecef", "border-radius", "4px", "padding", "12px"], [2, "font-family", "'Courier New', monospace", "font-weight", "bold", "color", "#007bff", "margin-bottom", "4px"], [2, "font-size", "0.85em", "color", "#495057", "margin-bottom", "8px"], [2, "font-family", "'Courier New', monospace", "font-size", "0.8em", "background", "#f1f3f4", "padding", "6px", "border-radius", "3px", "margin-bottom", "4px"], [2, "font-size", "0.75em", "color", "#6c757d", "font-style", "italic"], [2, "padding", "16px 0"], [2, "display", "flex", "align-items", "center", "justify-content", "center", "padding", "40px"], [1, "fa-solid", "fa-sliders", 2, "color", "#6c757d"], [1, "badge", 2, "background", "#17a2b8", "color", "white", "padding", "2px 6px", "border-radius", "10px", "font-size", "0.7em"], [1, "fa-solid", "fa-spinner", "fa-spin", 2, "font-size", "24px", "color", "#6c757d", "margin-right", "12px"], [2, "color", "#6c757d"], [1, "empty-state"], [1, "fa-solid", "fa-sliders", "empty-state-icon"], [1, "empty-state-title"], [1, "empty-state-text"], ["type", "button", 1, "add-param-btn"], ["type", "button", 1, "add-param-btn", 3, "click"], [1, "fa-solid", "fa-plus"], [2, "display", "flex", "justify-content", "flex-end", "margin-bottom", "16px", "padding", "0 20px"], [1, "parameters-grid"], [1, "param-card", 3, "required"], [1, "param-card", 3, "click"], [1, "param-card-header"], [1, "param-name"], [1, "fa-solid", "fa-at", 2, "color", "#007bff"], [1, "param-badges"], [1, "param-badge", "required"], [1, "param-card-body"], [2, "margin-bottom", "8px"], [2, "display", "flex", "gap", "16px", "font-size", "0.85em"], [1, "param-actions"], [2, "background", "#f1f3f4", "padding", "2px 4px", "border-radius", "3px"], [1, "param-actions", 3, "click"], ["type", "button", "title", "Edit parameter", 1, "param-action-btn", 3, "click"], [1, "fa-solid", "fa-pen"], ["type", "button", "title", "Delete parameter", 1, "param-action-btn", "delete", 3, "click"], [1, "fa-solid", "fa-trash"], [2, "display", "flex", "justify-content", "center", "padding", "40px"], [1, "fa-solid", "fa-table", 2, "color", "#6c757d"], [1, "fa-solid", "fa-spinner", "fa-spin", 2, "font-size", "2em", "color", "#007bff"], [1, "fa-solid", "fa-table", 2, "font-size", "3em", "color", "#dee2e6", "margin-bottom", "12px"], [2, "color", "#6c757d", "margin-bottom", "8px"], [2, "color", "#adb5bd", "margin-bottom", "16px"], [1, "param-card"], [1, "fa-solid", "fa-columns", 2, "color", "#17a2b8"], [1, "param-badge", 2, "background", "#e3f2fd", "color", "#1976d2"], [1, "param-badge", 2, "background", "#f3e5f5", "color", "#7b1fa2"], [1, "param-description"], [1, "param-meta"], [1, "meta-item"], [1, "fa-solid", "fa-code"], [1, "param-card-actions"], ["type", "button", "title", "Delete field", 1, "action-btn", "danger", 3, "click"], [1, "fa-solid", "fa-database", 2, "color", "#6c757d"], [1, "fa-solid", "fa-database", 2, "font-size", "3em", "color", "#dee2e6", "margin-bottom", "12px"], [1, "fa-solid", "fa-table", 2, "color", "#28a745"], [2, "flex", "1", "margin-left", "12px"], ["textField", "text", "valueField", "id", "placeholder", "Select entity...", 2, "width", "100%", 3, "ngModelChange", "ngModel", "name", "data", "valuePrimitive"], [1, "fa-solid", "fa-database"], ["type", "button", "title", "Delete entity", 1, "action-btn", "danger", 3, "click"], [1, "fa-solid", "fa-info-circle", 2, "color", "#6c757d"], ["name", "usesTemplate", 3, "ngModelChange", "ngModel"], [2, "color", "#28a745"], [1, "fa-solid", "fa-times"], [1, "fa-solid", "fa-star"], [1, "fa-solid", "fa-shield-alt", 2, "color", "#6c757d"], [1, "fa-solid", "fa-shield-alt", 2, "font-size", "3em", "color", "#dee2e6", "margin-bottom", "12px"], [2, "color", "#adb5bd"], [3, "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"], [1, "permissions-display"], [1, "permission-card", 2, "background", "#f8f9fa", "border", "1px solid #dee2e6", "border-radius", "8px", "padding", "16px", "margin-bottom", "12px"], [1, "fa-solid", "fa-users", 2, "font-size", "1.5em", "color", "#6c757d"], [2, "flex", "1"], [2, "font-weight", "600", "color", "#495057"], [2, "font-size", "0.85em", "color", "#6c757d"], [2, "display", "flex", "gap", "8px"], [1, "permission-badge", 2, "background", "#6f42c1", "color", "white", "padding", "4px 8px", "border-radius", "4px", "font-size", "0.8em"]], template: function MJQueryFormComponentExtended_Template(rf, ctx) { if (rf & 1) {
1543
1534
  i0.ɵɵelementStart(0, "div", 2);
1544
- i0.ɵɵconditionalCreate(1, QueryFormExtendedComponent_Conditional_1_Template, 61, 22);
1535
+ i0.ɵɵconditionalCreate(1, MJQueryFormComponentExtended_Conditional_1_Template, 61, 22);
1545
1536
  i0.ɵɵelementEnd();
1546
1537
  } if (rf & 2) {
1547
1538
  i0.ɵɵadvance();
1548
1539
  i0.ɵɵconditional(ctx.record ? 1 : -1);
1549
1540
  } }, dependencies: [i1.NgClass, i2.ɵNgNoValidate, i2.NgControlStatus, i2.NgControlStatusGroup, i2.NgModel, i2.NgForm, i3.ExpansionPanelComponent, i3.ExpansionPanelTitleDirective, i4.TextBoxComponent, i4.TextAreaComponent, i4.SwitchComponent, i5.DropDownListComponent, i6.ButtonComponent, i7.MjFormToolbarComponent, i7.ExplorerEntityDataGridComponent, i8.CodeEditorComponent, i9.QueryRunDialogComponent, i10.QueryCategoryDialogComponent], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n}\n\n.content-margin[_ngcontent-%COMP%] {\n margin: 10px;\n} \n\n\na[_ngcontent-%COMP%] {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 0;\n min-height: 100vh;\n}\n\n.record-form-group[_ngcontent-%COMP%] {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n\n.k-splitter[_ngcontent-%COMP%] {\n border-width: 0px;\n}\n\n.record-form-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row[_ngcontent-%COMP%] {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n width: 240px;\n margin-bottom: 0;\n }\n}\n\n\n\n.form-panels-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding: 16px;\n background-color: #F5F6FA;\n}\n\n\n\n.form-panels-container[_ngcontent-%COMP%] > .form-card[_ngcontent-%COMP%] {\n width: 100%;\n}\n\n\n\n.form-panels-container[_ngcontent-%COMP%] .related-entity-grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: 1fr;\n gap: 16px;\n width: 100%;\n}\n\n\n\n@media (min-width: 1400px) {\n .form-panels-container[_ngcontent-%COMP%] .related-entity-grid[_ngcontent-%COMP%] {\n grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));\n }\n}\n\n.form-card[_ngcontent-%COMP%] {\n background: white;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n overflow: hidden;\n}\n\n.collapsible-card[_ngcontent-%COMP%] {\n overflow: hidden;\n}\n\n.collapsible-header[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 20px 24px;\n background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);\n border-bottom: 2px solid #e5e7eb;\n cursor: pointer;\n user-select: none;\n transition: all 0.3s ease;\n}\n\n.collapsible-header[_ngcontent-%COMP%]:hover {\n background: linear-gradient(135deg, #f3f4f6 0%, #f9fafb 100%);\n border-bottom-color: #667eea;\n}\n\n.collapsible-title[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 12px;\n flex: 1;\n}\n\n.collapsible-title[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 20px;\n color: #667eea;\n}\n\n.collapsible-title[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] {\n margin: 0;\n font-size: 18px;\n font-weight: 600;\n color: #1f2937;\n}\n\n.collapsible-header[_ngcontent-%COMP%] .collapse-icon[_ngcontent-%COMP%] {\n color: #6b7280;\n transition: transform 0.3s ease;\n}\n\n.collapsible-body[_ngcontent-%COMP%] {\n max-height: 2000px;\n overflow: hidden;\n transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;\n opacity: 1;\n}\n\n.collapsible-body.collapsed[_ngcontent-%COMP%] {\n max-height: 0;\n padding: 0;\n opacity: 0;\n}\n\n.form-body[_ngcontent-%COMP%] {\n padding: 24px;\n}\n\n\n\n.form-card.related-entity[_ngcontent-%COMP%] {\n background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);\n border-left: 3px solid #3b82f6;\n}\n\n.form-card.related-entity[_ngcontent-%COMP%] .collapsible-header[_ngcontent-%COMP%] {\n background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);\n}\n\n.form-card.related-entity[_ngcontent-%COMP%] .collapsible-header[_ngcontent-%COMP%]:hover {\n background: linear-gradient(135deg, #bfdbfe 0%, #e0f2fe 100%);\n border-bottom-color: #3b82f6;\n}\n\n.form-card.related-entity[_ngcontent-%COMP%] .collapsible-title[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n color: #3b82f6;\n}\n\n\n\n.form-section-controls[_ngcontent-%COMP%] {\n display: flex;\n gap: 10px;\n padding: 14px 18px;\n background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);\n border-bottom: 2px solid #e5e7eb;\n align-items: center;\n flex-wrap: wrap;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);\n}\n\n.form-section-controls[_ngcontent-%COMP%] .control-group[_ngcontent-%COMP%] {\n display: flex;\n gap: 8px;\n align-items: center;\n}\n\n.form-section-controls[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n padding: 8px 14px;\n font-size: 13px;\n border: 1px solid #d1d5db;\n background: white;\n color: #374151;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s;\n margin-right: 0;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n font-weight: 500;\n}\n\n.form-section-controls[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover {\n background: #667eea;\n color: white;\n border-color: #667eea;\n transform: translateY(-1px);\n box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);\n}\n\n.form-section-controls[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:active {\n transform: translateY(0);\n}\n\n.form-section-controls[_ngcontent-%COMP%] button[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n margin-right: 0;\n font-size: 14px;\n}\n\n.form-section-controls[_ngcontent-%COMP%] .section-search[_ngcontent-%COMP%] {\n padding: 8px 14px;\n font-size: 13px;\n border: 1px solid #d1d5db;\n border-radius: 6px;\n width: 240px;\n transition: all 0.2s;\n background: white;\n}\n\n.form-section-controls[_ngcontent-%COMP%] .section-search[_ngcontent-%COMP%]:focus {\n outline: none;\n border-color: #667eea;\n box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);\n}\n\n.form-section-controls[_ngcontent-%COMP%] .section-search[_ngcontent-%COMP%]::placeholder {\n color: #9ca3af;\n font-style: italic;\n}\n\n.form-section-controls[_ngcontent-%COMP%] .section-count[_ngcontent-%COMP%] {\n font-size: 13px;\n color: #6b7280;\n margin-left: auto;\n font-weight: 500;\n}\n\n\n\n.form-card.search-hidden[_ngcontent-%COMP%] {\n display: none;\n}\n\n\n\n.section-count-badge[_ngcontent-%COMP%] {\n background: #667eea;\n color: white;\n padding: 2px 8px;\n border-radius: 12px;\n font-size: 12px;\n font-weight: 600;\n}\n\n\n\n.collapsible-title[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] .search-highlight[_ngcontent-%COMP%] {\n background-color: #fef08a;\n color: #854d0e;\n padding: 2px 4px;\n border-radius: 3px;\n font-weight: 700;\n}\n\n\n\n.collapsible-title[_ngcontent-%COMP%] .row-count-badge[_ngcontent-%COMP%] {\n background: #10b981;\n color: white;\n padding: 3px 6px 2px 6px;\n border-radius: 12px;\n font-size: 12px;\n font-weight: 600;\n margin-left: 8px;\n vertical-align: middle;\n position: relative;\n top: -2px;\n display: inline-block;\n line-height: 1;\n}\n\n\n\n.collapsible-title[_ngcontent-%COMP%] .row-count-badge.zero-rows[_ngcontent-%COMP%] {\n background: #9ca3af;\n}", "\n\n[_nghost-%COMP%] {\n display: block;\n height: 100%;\n}\n\n\n\n.record-form[_ngcontent-%COMP%] {\n min-height: 0 !important;\n}\n\n.sql-editor-container[_ngcontent-%COMP%] {\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n\n.filters-help[_ngcontent-%COMP%] .filter-card[_ngcontent-%COMP%] {\n transition: transform 0.2s ease;\n}\n\n.filters-help[_ngcontent-%COMP%] .filter-card[_ngcontent-%COMP%]:hover {\n transform: translateY(-2px);\n box-shadow: 0 4px 8px rgba(0,0,0,0.1);\n}\n\n.toolbar-actions[_ngcontent-%COMP%] {\n margin-left: auto;\n}\n\n.query-header[_ngcontent-%COMP%] {\n border-bottom: 2px solid #dee2e6;\n}\n\n.badge[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n}\n\n\n\n .query-content kendo-expansionpanel {\n border: none !important;\n border-radius: 12px !important;\n margin-bottom: 16px !important;\n box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;\n background: white !important;\n overflow: hidden !important;\n}\n\n .query-content .k-expander-header {\n background: white !important;\n border: none !important;\n padding: 16px 20px !important;\n border-radius: 12px !important;\n color: #2c3e50 !important;\n font-weight: 600 !important;\n font-size: 16px !important;\n transition: all 0.2s ease !important;\n}\n\n .query-content .k-expander-header:hover {\n background: #f8f9fa !important;\n}\n\n\n\n .query-content kendo-expansionpanel[aria-expanded=\"true\"] .k-expander-header {\n background: #2196f3 !important;\n color: white !important;\n border-radius: 12px 12px 0 0 !important;\n}\n\n\n\n .query-content .k-expander-content {\n padding: 0 !important;\n border: none !important;\n background: white !important;\n border-radius: 0 0 12px 12px !important;\n}\n\n\n\n .query-content .k-expander-header .fa-solid {\n transition: transform 0.2s ease !important;\n}\n\n .query-content kendo-expansionpanel[aria-expanded=\"true\"] .k-expander-header .fa-chevron-down {\n transform: rotate(180deg) !important;\n}\n\n\n\n.parameters-grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));\n gap: 16px;\n padding: 20px;\n}\n\n.param-card[_ngcontent-%COMP%] {\n background: white;\n border: 2px solid #e9ecef;\n border-radius: 8px;\n padding: 16px;\n transition: all 0.2s;\n cursor: pointer;\n position: relative;\n}\n\n.param-card[_ngcontent-%COMP%]:hover {\n border-color: #007bff;\n box-shadow: 0 2px 8px rgba(0,123,255,0.1);\n transform: translateY(-1px);\n}\n\n.param-card.required[_ngcontent-%COMP%] {\n border-color: #ffc107;\n}\n\n.param-card-header[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n margin-bottom: 12px;\n}\n\n.param-name[_ngcontent-%COMP%] {\n font-weight: 600;\n font-size: 1.1em;\n color: #2c3e50;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.param-badges[_ngcontent-%COMP%] {\n display: flex;\n gap: 6px;\n}\n\n.param-badge[_ngcontent-%COMP%] {\n padding: 2px 8px;\n border-radius: 12px;\n font-size: 0.75em;\n font-weight: 600;\n color: white;\n}\n\n.param-badge.required[_ngcontent-%COMP%] {\n background: #ffc107;\n}\n\n.param-badge.array[_ngcontent-%COMP%] {\n background: #9c27b0;\n}\n\n.param-card-body[_ngcontent-%COMP%] {\n color: #6c757d;\n font-size: 0.9em;\n}\n\n.param-actions[_ngcontent-%COMP%] {\n position: absolute;\n top: 12px;\n right: 12px;\n display: flex;\n gap: 4px;\n opacity: 0;\n transition: opacity 0.2s;\n}\n\n.param-card[_ngcontent-%COMP%]:hover .param-actions[_ngcontent-%COMP%] {\n opacity: 1;\n}\n\n.param-action-btn[_ngcontent-%COMP%] {\n background: none;\n border: none;\n padding: 4px 8px;\n border-radius: 4px;\n cursor: pointer;\n color: #6c757d;\n transition: all 0.2s;\n}\n\n.param-action-btn[_ngcontent-%COMP%]:hover {\n background: #f8f9fa;\n color: #007bff;\n}\n\n.param-action-btn.delete[_ngcontent-%COMP%]:hover {\n background: #fff5f5;\n color: #dc3545;\n}\n\n\n\n.details-grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 20px;\n padding: 20px;\n}\n\n.detail-item[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n\n.detail-label[_ngcontent-%COMP%] {\n font-size: 0.85em;\n font-weight: 600;\n color: #6c757d;\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.detail-value[_ngcontent-%COMP%] {\n font-size: 1em;\n color: #2c3e50;\n}\n\n\n\n.category-selector[_ngcontent-%COMP%] {\n display: flex;\n gap: 8px;\n align-items: center;\n}\n\n.category-tree-dropdown[_ngcontent-%COMP%] {\n flex: 1;\n}\n\n.add-category-btn[_ngcontent-%COMP%] {\n background: #28a745;\n color: white;\n border: none;\n padding: 8px 12px;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s;\n display: flex;\n align-items: center;\n gap: 4px;\n}\n\n.add-category-btn[_ngcontent-%COMP%]:hover {\n background: #218838;\n transform: translateY(-1px);\n box-shadow: 0 2px 4px rgba(40,167,69,0.2);\n}\n\n\n\n.empty-state[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 60px 20px;\n text-align: center;\n color: #6c757d;\n}\n\n.empty-state-icon[_ngcontent-%COMP%] {\n font-size: 48px;\n margin-bottom: 16px;\n opacity: 0.3;\n}\n\n.empty-state-title[_ngcontent-%COMP%] {\n font-size: 1.2em;\n font-weight: 600;\n margin-bottom: 8px;\n color: #495057;\n}\n\n.empty-state-text[_ngcontent-%COMP%] {\n font-size: 0.9em;\n margin-bottom: 20px;\n}\n\n.add-param-btn[_ngcontent-%COMP%] {\n background: #007bff;\n color: white;\n border: none;\n padding: 10px 20px;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s;\n display: flex;\n align-items: center;\n gap: 8px;\n font-weight: 500;\n}\n\n.add-param-btn[_ngcontent-%COMP%]:hover {\n background: #0056b3;\n transform: translateY(-1px);\n box-shadow: 0 2px 4px rgba(0,123,255,0.2);\n}"] }); }
1550
1541
  };
1551
- QueryFormExtendedComponent = __decorate([
1542
+ MJQueryFormComponentExtended = __decorate([
1552
1543
  RegisterClass(BaseFormComponent, 'MJ: Queries')
1553
- ], QueryFormExtendedComponent);
1554
- export { QueryFormExtendedComponent };
1555
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryFormExtendedComponent, [{
1544
+ ], MJQueryFormComponentExtended);
1545
+ export { MJQueryFormComponentExtended };
1546
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJQueryFormComponentExtended, [{
1556
1547
  type: Component,
1557
1548
  args: [{ standalone: false, selector: 'mj-query-form', template: "<div class=\"record-form-container\" style=\"height: 100%; display: flex; flex-direction: column;\">\n @if (record) {\n <form class=\"record-form\" #form=\"ngForm\" style=\"display: flex; flex-direction: column; height: 100%; overflow: hidden;\">\n <mj-form-toolbar [Form]=\"this\"></mj-form-toolbar>\n\n <!-- Header Section -->\n <div class=\"query-header\" style=\"flex-shrink: 0; background: #f8f9fa; border-bottom: 1px solid #dee2e6; padding: 20px;\">\n <div style=\"display: flex; flex-direction: column; gap: 16px;\">\n\n <!-- Top Row: Name and Run Button -->\n <div style=\"display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;\">\n <!-- Left: Query Name -->\n <div style=\"flex: 1; min-width: 0;\">\n <div style=\"display: flex; align-items: center; gap: 12px;\">\n <i class=\"fa-solid fa-database\" style=\"color: #17a2b8; font-size: 1.4em;\"></i>\n @if (EditMode) {\n <kendo-textbox [(ngModel)]=\"record.Name\"\n name=\"queryName\"\n placeholder=\"Enter query name...\"\n style=\"font-size: 1.2em; font-weight: 600; min-width: 300px; flex: 1;\">\n </kendo-textbox>\n } @else {\n <h4 style=\"margin: 0; color: #495057; font-weight: 600; flex: 1;\">{{ record.Name || 'Untitled Query' }}</h4>\n }\n </div>\n </div>\n\n <!-- Right: Action Buttons -->\n <div class=\"action-buttons\" style=\"display: flex; gap: 8px; align-items: center;\">\n @if (record.ID) {\n <button kendoButton\n [themeColor]=\"'primary'\"\n [size]=\"'large'\"\n [disabled]=\"EditMode || record.Status !== 'Approved' || !record.SQL || record.SQL.trim().length === 0\"\n (click)=\"runQuery()\"\n title=\"Run Query\">\n <i class=\"fa-solid fa-play\"></i> Run\n </button>\n }\n </div>\n </div>\n\n <!-- Second Row: Category and Status -->\n <div style=\"display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;\">\n <!-- Category -->\n <div style=\"display: flex; align-items: center; gap: 12px;\">\n <label style=\"font-weight: 600; color: #495057; min-width: 80px;\">Category:</label>\n @if (EditMode) {\n <kendo-dropdownlist\n [(ngModel)]=\"record.CategoryID\"\n name=\"categoryId\"\n [data]=\"categoryOptions\"\n textField=\"text\"\n valueField=\"value\"\n [valuePrimitive]=\"true\"\n placeholder=\"Select category...\"\n style=\"flex: 1;\">\n </kendo-dropdownlist>\n } @else {\n <span style=\"color: #495057;\">{{ getCategoryPath() || 'Uncategorized' }}</span>\n }\n </div>\n\n <!-- Status -->\n <div style=\"display: flex; align-items: center; gap: 12px;\">\n <label style=\"font-weight: 600; color: #495057; min-width: 50px;\">Status:</label>\n @if (EditMode) {\n <kendo-dropdownlist\n [(ngModel)]=\"record.Status\"\n name=\"status\"\n [data]=\"statusOptions\"\n textField=\"text\"\n valueField=\"value\"\n [valuePrimitive]=\"true\"\n style=\"flex: 1;\">\n </kendo-dropdownlist>\n } @else {\n <span class=\"badge\"\n [style.background]=\"getStatusBadgeColor()\"\n style=\"color: white; padding: 6px 12px; border-radius: 12px; font-size: 0.85em;\">\n @if (record.Status === 'Approved') {\n <i class=\"fa-solid fa-check-circle\"></i>\n }\n @if (record.Status === 'Pending') {\n <i class=\"fa-solid fa-clock\"></i>\n }\n @if (record.Status === 'Rejected') {\n <i class=\"fa-solid fa-times-circle\"></i>\n }\n {{ record.Status || 'Unknown' }}\n </span>\n }\n </div>\n </div>\n\n <!-- Third Row: Description -->\n @if (EditMode || record.Description) {\n <div>\n @if (EditMode) {\n <kendo-textarea [(ngModel)]=\"record.Description\"\n name=\"description\"\n [rows]=\"2\"\n placeholder=\"Enter query description...\"\n style=\"width: 100%;\">\n </kendo-textarea>\n } @else {\n <p style=\"margin: 0; color: #6c757d; font-size: 0.9em; line-height: 1.4;\">{{ record.Description }}</p>\n }\n </div>\n }\n </div>\n </div>\n\n <!-- Main Content Area with Expansion Panels -->\n <div class=\"query-content\" style=\"flex: 1; min-height: 0; padding: 20px; overflow-y: auto; background: #f5f7fa;\">\n\n <!-- SQL Query Panel -->\n <kendo-expansionpanel\n [(expanded)]=\"sqlPanelExpanded\"\n style=\"margin-bottom: 16px;\">\n <ng-template kendoExpansionPanelTitleDirective>\n <span style=\"display: flex; align-items: center; justify-content: space-between; width: 100%;\">\n <span style=\"display: flex; align-items: center; gap: 8px; font-weight: 600;\">\n <i class=\"fa-solid fa-code\" style=\"color: #17a2b8;\"></i>\n SQL\n @if (record.SQL) {\n <span class=\"badge\" style=\"background: #28a745; color: white; padding: 2px 6px; border-radius: 10px; font-size: 0.7em;\">\n <i class=\"fa-solid fa-check\"></i> Defined\n </span>\n }\n </span>\n <button type=\"button\"\n kendoButton\n fillMode=\"flat\"\n size=\"small\"\n (click)=\"toggleFiltersHelp(); $event.stopPropagation()\"\n title=\"Show/hide SQL filters help\"\n style=\"margin-right: 8px;\">\n <i class=\"fa-solid fa-question-circle\"></i>\n <span style=\"margin-left: 4px;\">Filters Help</span>\n <i class=\"fa-solid\" [ngClass]=\"showFiltersHelp ? 'fa-chevron-up' : 'fa-chevron-down'\" style=\"margin-left: 4px;\"></i>\n </button>\n </span>\n </ng-template>\n\n <div style=\"display: flex; flex-direction: column;\">\n <!-- Code Editor -->\n <mj-code-editor #sqlEditor\n (change)=\"onSQLChange($event)\"\n [language]=\"'sql'\"\n style=\"flex: 1; height: 400px; border: 1px solid #ced4da; border-radius: 4px;\">\n </mj-code-editor>\n\n <!-- SQL Filters Help (Below Editor) -->\n @if (showFiltersHelp) {\n <div class=\"filters-help\" style=\"background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 6px; padding: 16px; margin-top: 16px;\">\n <h6 style=\"margin: 0 0 12px 0; color: #495057; font-weight: 600;\">\n <i class=\"fa-solid fa-filter\"></i> Available SQL Filters for Parameterized Queries\n </h6>\n\n <div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px;\">\n @for (filter of sqlFilters; track filter.name) {\n <div class=\"filter-card\" style=\"background: white; border: 1px solid #e9ecef; border-radius: 4px; padding: 12px;\">\n <div style=\"font-family: 'Courier New', monospace; font-weight: bold; color: #007bff; margin-bottom: 4px;\">\n {{ filter.name }}\n </div>\n <div style=\"font-size: 0.85em; color: #495057; margin-bottom: 8px;\">\n {{ filter.description }}\n </div>\n <div style=\"font-family: 'Courier New', monospace; font-size: 0.8em; background: #f1f3f4; padding: 6px; border-radius: 3px; margin-bottom: 4px;\">\n {{ filter.exampleSyntax }}\n </div>\n @if (filter.notes) {\n <div style=\"font-size: 0.75em; color: #6c757d; font-style: italic;\">\n {{ filter.notes }}\n </div>\n }\n </div>\n }\n </div>\n </div>\n }\n </div>\n </kendo-expansionpanel>\n\n <!-- Parameters Panel -->\n @if (record.IsSaved) {\n <kendo-expansionpanel\n [(expanded)]=\"parametersPanelExpanded\"\n style=\"margin-bottom: 16px;\">\n <ng-template kendoExpansionPanelTitleDirective>\n <span style=\"display: flex; align-items: center; gap: 8px; font-weight: 600;\">\n <i class=\"fa-solid fa-sliders\" style=\"color: #6c757d;\"></i>\n Query Parameters\n @if (queryParameters.length > 0) {\n <span class=\"badge\" style=\"background: #17a2b8; color: white; padding: 2px 6px; border-radius: 10px; font-size: 0.7em;\">\n {{ queryParameters.length }}\n </span>\n }\n </span>\n </ng-template>\n\n <div style=\"padding: 16px 0;\">\n @if (isLoadingParameters) {\n <div style=\"display: flex; align-items: center; justify-content: center; padding: 40px;\">\n <i class=\"fa-solid fa-spinner fa-spin\" style=\"font-size: 24px; color: #6c757d; margin-right: 12px;\"></i>\n <span style=\"color: #6c757d;\">Loading parameters...</span>\n </div>\n } @else {\n @if (queryParameters.length === 0) {\n <div class=\"empty-state\">\n <i class=\"fa-solid fa-sliders empty-state-icon\"></i>\n <div class=\"empty-state-title\">No Parameters Defined</div>\n <div class=\"empty-state-text\">\n Add parameters to make your query dynamic and reusable.\n </div>\n @if (EditMode) {\n <button type=\"button\" class=\"add-param-btn\" (click)=\"addParameter()\">\n <i class=\"fa-solid fa-plus\"></i> Add First Parameter\n </button>\n }\n </div>\n } @else {\n <!-- Parameters Header with Add Button -->\n @if (EditMode) {\n <div style=\"display: flex; justify-content: flex-end; margin-bottom: 16px; padding: 0 20px;\">\n <button type=\"button\" class=\"add-param-btn\" (click)=\"addParameter()\">\n <i class=\"fa-solid fa-plus\"></i> Add Parameter\n </button>\n </div>\n }\n\n <!-- Parameters Grid -->\n <div class=\"parameters-grid\">\n @for (param of queryParameters; track param.ID || $index) {\n <div class=\"param-card\" [class.required]=\"param.IsRequired\" (click)=\"editParameter(param)\">\n <div class=\"param-card-header\">\n <div class=\"param-name\">\n <i class=\"fa-solid fa-at\" style=\"color: #007bff;\"></i>\n {{ param.Name }}\n </div>\n <div class=\"param-badges\">\n @if (param.IsRequired) {\n <span class=\"param-badge required\">Required</span>\n }\n </div>\n </div>\n\n <div class=\"param-card-body\">\n @if (param.Description) {\n <div style=\"margin-bottom: 8px;\">{{ param.Description }}</div>\n }\n\n <div style=\"display: flex; gap: 16px; font-size: 0.85em;\">\n <div>\n <strong>Type:</strong> {{ param.Type || 'Text' }}\n </div>\n @if (param.DefaultValue) {\n <div>\n <strong>Default:</strong>\n <code style=\"background: #f1f3f4; padding: 2px 4px; border-radius: 3px;\">\n {{ param.DefaultValue }}\n </code>\n </div>\n }\n </div>\n </div>\n\n @if (EditMode) {\n <div class=\"param-actions\" (click)=\"$event.stopPropagation()\">\n <button type=\"button\" class=\"param-action-btn\" (click)=\"editParameter(param)\" title=\"Edit parameter\">\n <i class=\"fa-solid fa-pen\"></i>\n </button>\n <button type=\"button\" class=\"param-action-btn delete\" (click)=\"deleteParameter(param)\" title=\"Delete parameter\">\n <i class=\"fa-solid fa-trash\"></i>\n </button>\n </div>\n }\n </div>\n }\n </div>\n }\n }\n </div>\n </kendo-expansionpanel>\n }\n\n <!-- Query Fields Panel -->\n @if (record.IsSaved) {\n <kendo-expansionpanel\n [(expanded)]=\"fieldsPanelExpanded\"\n style=\"margin-bottom: 16px;\">\n <ng-template kendoExpansionPanelTitleDirective>\n <span style=\"display: flex; align-items: center; gap: 8px; font-weight: 600;\">\n <i class=\"fa-solid fa-table\" style=\"color: #6c757d;\"></i>\n Query Fields\n @if (queryFields.length > 0) {\n <span class=\"badge\" style=\"background: #17a2b8; color: white; padding: 2px 6px; border-radius: 10px; font-size: 0.7em;\">\n {{ queryFields.length }}\n </span>\n }\n </span>\n </ng-template>\n\n <div style=\"padding: 16px 0;\">\n @if (isLoadingFields) {\n <div style=\"display: flex; justify-content: center; padding: 40px;\">\n <i class=\"fa-solid fa-spinner fa-spin\" style=\"font-size: 2em; color: #007bff;\"></i>\n </div>\n } @else {\n @if (queryFields.length === 0) {\n <div class=\"empty-state\">\n <i class=\"fa-solid fa-table\" style=\"font-size: 3em; color: #dee2e6; margin-bottom: 12px;\"></i>\n <h5 style=\"color: #6c757d; margin-bottom: 8px;\">No Fields Defined</h5>\n <div style=\"color: #adb5bd; margin-bottom: 16px;\">\n Define output fields for your query results.\n </div>\n @if (EditMode) {\n <button type=\"button\" class=\"add-param-btn\" (click)=\"addField()\">\n <i class=\"fa-solid fa-plus\"></i> Add First Field\n </button>\n }\n </div>\n } @else {\n <!-- Fields Header with Add Button -->\n @if (EditMode) {\n <div style=\"display: flex; justify-content: flex-end; margin-bottom: 16px; padding: 0 20px;\">\n <button type=\"button\" class=\"add-param-btn\" (click)=\"addField()\">\n <i class=\"fa-solid fa-plus\"></i> Add Field\n </button>\n </div>\n }\n\n <!-- Fields Grid -->\n <div class=\"parameters-grid\">\n @for (field of queryFields; track field.ID) {\n <div class=\"param-card\">\n <div class=\"param-card-header\">\n <div class=\"param-name\">\n <i class=\"fa-solid fa-columns\" style=\"color: #17a2b8;\"></i>\n {{ field.Name }}\n </div>\n <div class=\"param-badges\">\n <span class=\"param-badge\" style=\"background: #e3f2fd; color: #1976d2;\">{{ field.SQLBaseType }}</span>\n @if (field.Sequence) {\n <span class=\"param-badge\" style=\"background: #f3e5f5; color: #7b1fa2;\">#{{ field.Sequence }}</span>\n }\n </div>\n </div>\n\n <div class=\"param-card-body\">\n @if (field.Description) {\n <div class=\"param-description\">{{ field.Description }}</div>\n }\n <div class=\"param-meta\">\n <span class=\"meta-item\">\n <i class=\"fa-solid fa-code\"></i> {{ field.SQLFullType || field.SQLBaseType }}\n </span>\n </div>\n </div>\n\n @if (EditMode) {\n <div class=\"param-card-actions\">\n <button type=\"button\" class=\"action-btn danger\" (click)=\"deleteField(field)\" title=\"Delete field\">\n <i class=\"fa-solid fa-trash\"></i>\n </button>\n </div>\n }\n </div>\n }\n </div>\n }\n }\n </div>\n </kendo-expansionpanel>\n }\n\n <!-- Query Entities Panel -->\n @if (record.IsSaved) {\n <kendo-expansionpanel\n [(expanded)]=\"entitiesPanelExpanded\"\n style=\"margin-bottom: 16px;\">\n <ng-template kendoExpansionPanelTitleDirective>\n <span style=\"display: flex; align-items: center; gap: 8px; font-weight: 600;\">\n <i class=\"fa-solid fa-database\" style=\"color: #6c757d;\"></i>\n Query Entities\n @if (queryEntities.length > 0) {\n <span class=\"badge\" style=\"background: #17a2b8; color: white; padding: 2px 6px; border-radius: 10px; font-size: 0.7em;\">\n {{ queryEntities.length }}\n </span>\n }\n </span>\n </ng-template>\n\n <div style=\"padding: 16px 0;\">\n @if (isLoadingEntities) {\n <div style=\"display: flex; justify-content: center; padding: 40px;\">\n <i class=\"fa-solid fa-spinner fa-spin\" style=\"font-size: 2em; color: #007bff;\"></i>\n </div>\n } @else {\n @if (queryEntities.length === 0) {\n <div class=\"empty-state\">\n <i class=\"fa-solid fa-database\" style=\"font-size: 3em; color: #dee2e6; margin-bottom: 12px;\"></i>\n <h5 style=\"color: #6c757d; margin-bottom: 8px;\">No Entities Tracked</h5>\n <div style=\"color: #adb5bd; margin-bottom: 16px;\">\n Track which entities this query uses for documentation.\n </div>\n @if (EditMode) {\n <button type=\"button\" class=\"add-param-btn\" (click)=\"addEntity()\">\n <i class=\"fa-solid fa-plus\"></i> Add First Entity\n </button>\n }\n </div>\n } @else {\n <!-- Entities Header with Add Button -->\n @if (EditMode) {\n <div style=\"display: flex; justify-content: flex-end; margin-bottom: 16px; padding: 0 20px;\">\n <button type=\"button\" class=\"add-param-btn\" (click)=\"addEntity()\">\n <i class=\"fa-solid fa-plus\"></i> Add Entity\n </button>\n </div>\n }\n\n <!-- Entities Grid -->\n <div class=\"parameters-grid\">\n @for (entity of queryEntities; track entity.ID) {\n <div class=\"param-card\">\n <div class=\"param-card-header\">\n <div class=\"param-name\">\n <i class=\"fa-solid fa-table\" style=\"color: #28a745;\"></i>\n {{ entity.Entity || 'Select Entity...' }}\n </div>\n @if (EditMode) {\n <div style=\"flex: 1; margin-left: 12px;\">\n <kendo-dropdownlist\n [(ngModel)]=\"entity.EntityID\"\n [name]=\"'entity_' + entity.ID\"\n [data]=\"getEntityOptions()\"\n textField=\"text\"\n valueField=\"id\"\n [valuePrimitive]=\"true\"\n placeholder=\"Select entity...\"\n style=\"width: 100%;\">\n </kendo-dropdownlist>\n </div>\n }\n </div>\n\n @if (!EditMode && entity.Entity) {\n <div class=\"param-card-body\">\n <div class=\"param-meta\">\n <span class=\"meta-item\">\n <i class=\"fa-solid fa-database\"></i> Data Source\n </span>\n </div>\n </div>\n }\n\n @if (EditMode) {\n <div class=\"param-card-actions\">\n <button type=\"button\" class=\"action-btn danger\" (click)=\"deleteEntity(entity)\" title=\"Delete entity\">\n <i class=\"fa-solid fa-trash\"></i>\n </button>\n </div>\n }\n </div>\n }\n </div>\n }\n }\n </div>\n </kendo-expansionpanel>\n }\n\n <!-- Details Panel -->\n <kendo-expansionpanel\n [(expanded)]=\"detailsPanelExpanded\"\n style=\"margin-bottom: 16px;\">\n <ng-template kendoExpansionPanelTitleDirective>\n <span style=\"display: flex; align-items: center; gap: 8px; font-weight: 600;\">\n <i class=\"fa-solid fa-info-circle\" style=\"color: #6c757d;\"></i>\n Query Details\n </span>\n </ng-template>\n\n <div style=\"padding: 20px;\">\n <div class=\"details-grid\">\n <!-- Uses Template -->\n <div class=\"detail-item\">\n <label class=\"detail-label\">\n <i class=\"fa-solid fa-file-code\"></i> Template Usage\n </label>\n @if (EditMode) {\n <kendo-switch [(ngModel)]=\"record.UsesTemplate\" name=\"usesTemplate\"></kendo-switch>\n } @else {\n <div class=\"detail-value\">\n @if (record.UsesTemplate) {\n <span style=\"color: #28a745;\"><i class=\"fa-solid fa-check\"></i> Uses Templates</span>\n } @else {\n <span style=\"color: #6c757d;\"><i class=\"fa-solid fa-times\"></i> No Templates</span>\n }\n </div>\n }\n </div>\n\n <!-- Created Date -->\n <div class=\"detail-item\">\n <label class=\"detail-label\">\n <i class=\"fa-solid fa-calendar-plus\"></i> Created\n </label>\n <div class=\"detail-value\">{{ formatDate(record.__mj_CreatedAt) }}</div>\n </div>\n\n <!-- Updated Date -->\n <div class=\"detail-item\">\n <label class=\"detail-label\">\n <i class=\"fa-solid fa-calendar-check\"></i> Last Updated\n </label>\n <div class=\"detail-value\">{{ formatDate(record.__mj_UpdatedAt) }}</div>\n </div>\n\n <!-- Quality Rank -->\n @if (record.QualityRank != null) {\n <div class=\"detail-item\">\n <label class=\"detail-label\">\n <i class=\"fa-solid fa-star\"></i> Quality Rank\n </label>\n <div class=\"detail-value\">{{ record.QualityRank }}/10</div>\n </div>\n }\n </div>\n </div>\n </kendo-expansionpanel>\n\n <!-- Permissions Panel -->\n @if (record.IsSaved) {\n <kendo-expansionpanel\n [(expanded)]=\"permissionsPanelExpanded\"\n style=\"margin-bottom: 16px;\">\n <ng-template kendoExpansionPanelTitleDirective>\n <span style=\"display: flex; align-items: center; gap: 8px; font-weight: 600;\">\n <i class=\"fa-solid fa-shield-alt\" style=\"color: #6c757d;\"></i>\n Query Permissions\n </span>\n </ng-template>\n\n <div style=\"padding: 16px 0;\">\n @if (isLoadingPermissions) {\n <div style=\"display: flex; justify-content: center; padding: 40px;\">\n <i class=\"fa-solid fa-spinner fa-spin\" style=\"font-size: 2em; color: #007bff;\"></i>\n </div>\n } @else {\n @if (queryPermissions.length === 0 && !EditMode) {\n <div class=\"empty-state\">\n <i class=\"fa-solid fa-shield-alt\" style=\"font-size: 3em; color: #dee2e6; margin-bottom: 12px;\"></i>\n <h5 style=\"color: #6c757d; margin-bottom: 8px;\">No Permissions Set</h5>\n <div style=\"color: #adb5bd;\">\n This query uses default permissions.\n </div>\n </div>\n } @else {\n @if (EditMode) {\n <!-- Edit Mode: Use the standard grid -->\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Permissions','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Permissions')\"\n [AllowLoad]=\"true\"\n [ShowToolbar]=\"false\">\n </mj-explorer-entity-data-grid>\n } @else {\n <!-- Read Mode: Nice card-based display -->\n <div class=\"permissions-display\">\n @for (permission of queryPermissions; track permission.ID) {\n <div class=\"permission-card\" style=\"background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 8px; padding: 16px; margin-bottom: 12px;\">\n <div style=\"display: flex; align-items: center; gap: 12px;\">\n <i class=\"fa-solid fa-users\" style=\"font-size: 1.5em; color: #6c757d;\"></i>\n <div style=\"flex: 1;\">\n <div style=\"font-weight: 600; color: #495057;\">\n {{ permission.Role }}\n </div>\n <div style=\"font-size: 0.85em; color: #6c757d;\">\n Role Permission\n </div>\n </div>\n <div style=\"display: flex; gap: 8px;\">\n <span class=\"permission-badge\" style=\"background: #6f42c1; color: white; padding: 4px 8px; border-radius: 4px; font-size: 0.8em;\">\n <i class=\"fa-solid fa-play\"></i> Can Execute\n </span>\n </div>\n </div>\n </div>\n }\n </div>\n }\n }\n }\n </div>\n </kendo-expansionpanel>\n }\n </div>\n </form>\n\n <!-- Query Run Dialog -->\n <mj-query-run-dialog\n [query]=\"record\"\n [parameters]=\"queryParameters\"\n [(isVisible)]=\"showRunDialog\"\n (onClose)=\"onRunDialogClose()\">\n </mj-query-run-dialog>\n\n <!-- Category Creation Dialog -->\n <mj-query-category-dialog\n [(isVisible)]=\"showCategoryDialog\"\n (onCategoryCreated)=\"onCategoryCreated($event)\">\n </mj-query-category-dialog>\n }\n</div>", styles: [".k-pane {\n background-color: #F5F6FA;\n}\n\n.content-margin {\n margin: 10px;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 0;\n min-height: 100vh;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n\n/* Collapsible Panel Styles */\n.form-panels-container {\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding: 16px;\n background-color: #F5F6FA;\n}\n\n/* All field sections take full width */\n.form-panels-container > .form-card {\n width: 100%;\n}\n\n/* Related entity grid container - responsive layout */\n.form-panels-container .related-entity-grid {\n display: grid;\n grid-template-columns: 1fr;\n gap: 16px;\n width: 100%;\n}\n\n/* Responsive multi-column layout for related entities on wider screens */\n@media (min-width: 1400px) {\n .form-panels-container .related-entity-grid {\n grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));\n }\n}\n\n.form-card {\n background: white;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n overflow: hidden;\n}\n\n.collapsible-card {\n overflow: hidden;\n}\n\n.collapsible-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 20px 24px;\n background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);\n border-bottom: 2px solid #e5e7eb;\n cursor: pointer;\n user-select: none;\n transition: all 0.3s ease;\n}\n\n.collapsible-header:hover {\n background: linear-gradient(135deg, #f3f4f6 0%, #f9fafb 100%);\n border-bottom-color: #667eea;\n}\n\n.collapsible-title {\n display: flex;\n align-items: center;\n gap: 12px;\n flex: 1;\n}\n\n.collapsible-title i {\n font-size: 20px;\n color: #667eea;\n}\n\n.collapsible-title h3 {\n margin: 0;\n font-size: 18px;\n font-weight: 600;\n color: #1f2937;\n}\n\n.collapsible-header .collapse-icon {\n color: #6b7280;\n transition: transform 0.3s ease;\n}\n\n.collapsible-body {\n max-height: 2000px;\n overflow: hidden;\n transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;\n opacity: 1;\n}\n\n.collapsible-body.collapsed {\n max-height: 0;\n padding: 0;\n opacity: 0;\n}\n\n.form-body {\n padding: 24px;\n}\n\n/* Related Entity Sections - Visual Distinction */\n.form-card.related-entity {\n background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);\n border-left: 3px solid #3b82f6;\n}\n\n.form-card.related-entity .collapsible-header {\n background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);\n}\n\n.form-card.related-entity .collapsible-header:hover {\n background: linear-gradient(135deg, #bfdbfe 0%, #e0f2fe 100%);\n border-bottom-color: #3b82f6;\n}\n\n.form-card.related-entity .collapsible-title i {\n color: #3b82f6;\n}\n\n/* Section Controls */\n.form-section-controls {\n display: flex;\n gap: 10px;\n padding: 14px 18px;\n background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);\n border-bottom: 2px solid #e5e7eb;\n align-items: center;\n flex-wrap: wrap;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);\n}\n\n.form-section-controls .control-group {\n display: flex;\n gap: 8px;\n align-items: center;\n}\n\n.form-section-controls button {\n padding: 8px 14px;\n font-size: 13px;\n border: 1px solid #d1d5db;\n background: white;\n color: #374151;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s;\n margin-right: 0;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n font-weight: 500;\n}\n\n.form-section-controls button:hover {\n background: #667eea;\n color: white;\n border-color: #667eea;\n transform: translateY(-1px);\n box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);\n}\n\n.form-section-controls button:active {\n transform: translateY(0);\n}\n\n.form-section-controls button i {\n margin-right: 0;\n font-size: 14px;\n}\n\n.form-section-controls .section-search {\n padding: 8px 14px;\n font-size: 13px;\n border: 1px solid #d1d5db;\n border-radius: 6px;\n width: 240px;\n transition: all 0.2s;\n background: white;\n}\n\n.form-section-controls .section-search:focus {\n outline: none;\n border-color: #667eea;\n box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);\n}\n\n.form-section-controls .section-search::placeholder {\n color: #9ca3af;\n font-style: italic;\n}\n\n.form-section-controls .section-count {\n font-size: 13px;\n color: #6b7280;\n margin-left: auto;\n font-weight: 500;\n}\n\n/* Hidden sections for search filter */\n.form-card.search-hidden {\n display: none;\n}\n\n/* Section count badge */\n.section-count-badge {\n background: #667eea;\n color: white;\n padding: 2px 8px;\n border-radius: 12px;\n font-size: 12px;\n font-weight: 600;\n}\n\n/* Search highlighting in section names */\n.collapsible-title h3 .search-highlight {\n background-color: #fef08a;\n color: #854d0e;\n padding: 2px 4px;\n border-radius: 3px;\n font-weight: 700;\n}\n\n/* Row count badge in section headers */\n.collapsible-title .row-count-badge {\n background: #10b981;\n color: white;\n padding: 3px 6px 2px 6px;\n border-radius: 12px;\n font-size: 12px;\n font-weight: 600;\n margin-left: 8px;\n vertical-align: middle;\n position: relative;\n top: -2px;\n display: inline-block;\n line-height: 1;\n}\n\n/* Gray badge for zero rows (loaded but empty) */\n.collapsible-title .row-count-badge.zero-rows {\n background: #9ca3af;\n}\n", "/* Override shared form-styles to enable flex layout */\n:host {\n display: block;\n height: 100%;\n}\n\n/* Override the shared record-form min-height so flex layout works properly */\n.record-form {\n min-height: 0 !important;\n}\n\n.sql-editor-container {\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n\n.filters-help .filter-card {\n transition: transform 0.2s ease;\n}\n\n.filters-help .filter-card:hover {\n transform: translateY(-2px);\n box-shadow: 0 4px 8px rgba(0,0,0,0.1);\n}\n\n.toolbar-actions {\n margin-left: auto;\n}\n\n.query-header {\n border-bottom: 2px solid #dee2e6;\n}\n\n.badge {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n}\n\n/* Modern Expansion Panel Styling */\n::ng-deep .query-content kendo-expansionpanel {\n border: none !important;\n border-radius: 12px !important;\n margin-bottom: 16px !important;\n box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;\n background: white !important;\n overflow: hidden !important;\n}\n\n::ng-deep .query-content .k-expander-header {\n background: white !important;\n border: none !important;\n padding: 16px 20px !important;\n border-radius: 12px !important;\n color: #2c3e50 !important;\n font-weight: 600 !important;\n font-size: 16px !important;\n transition: all 0.2s ease !important;\n}\n\n::ng-deep .query-content .k-expander-header:hover {\n background: #f8f9fa !important;\n}\n\n/* Expanded state header */\n::ng-deep .query-content kendo-expansionpanel[aria-expanded=\"true\"] .k-expander-header {\n background: #2196f3 !important;\n color: white !important;\n border-radius: 12px 12px 0 0 !important;\n}\n\n/* Content area */\n::ng-deep .query-content .k-expander-content {\n padding: 0 !important;\n border: none !important;\n background: white !important;\n border-radius: 0 0 12px 12px !important;\n}\n\n/* Icon in header */\n::ng-deep .query-content .k-expander-header .fa-solid {\n transition: transform 0.2s ease !important;\n}\n\n::ng-deep .query-content kendo-expansionpanel[aria-expanded=\"true\"] .k-expander-header .fa-chevron-down {\n transform: rotate(180deg) !important;\n}\n\n/* Parameter Cards */\n.parameters-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));\n gap: 16px;\n padding: 20px;\n}\n\n.param-card {\n background: white;\n border: 2px solid #e9ecef;\n border-radius: 8px;\n padding: 16px;\n transition: all 0.2s;\n cursor: pointer;\n position: relative;\n}\n\n.param-card:hover {\n border-color: #007bff;\n box-shadow: 0 2px 8px rgba(0,123,255,0.1);\n transform: translateY(-1px);\n}\n\n.param-card.required {\n border-color: #ffc107;\n}\n\n.param-card-header {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n margin-bottom: 12px;\n}\n\n.param-name {\n font-weight: 600;\n font-size: 1.1em;\n color: #2c3e50;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.param-badges {\n display: flex;\n gap: 6px;\n}\n\n.param-badge {\n padding: 2px 8px;\n border-radius: 12px;\n font-size: 0.75em;\n font-weight: 600;\n color: white;\n}\n\n.param-badge.required {\n background: #ffc107;\n}\n\n.param-badge.array {\n background: #9c27b0;\n}\n\n.param-card-body {\n color: #6c757d;\n font-size: 0.9em;\n}\n\n.param-actions {\n position: absolute;\n top: 12px;\n right: 12px;\n display: flex;\n gap: 4px;\n opacity: 0;\n transition: opacity 0.2s;\n}\n\n.param-card:hover .param-actions {\n opacity: 1;\n}\n\n.param-action-btn {\n background: none;\n border: none;\n padding: 4px 8px;\n border-radius: 4px;\n cursor: pointer;\n color: #6c757d;\n transition: all 0.2s;\n}\n\n.param-action-btn:hover {\n background: #f8f9fa;\n color: #007bff;\n}\n\n.param-action-btn.delete:hover {\n background: #fff5f5;\n color: #dc3545;\n}\n\n/* Details Section */\n.details-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 20px;\n padding: 20px;\n}\n\n.detail-item {\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n\n.detail-label {\n font-size: 0.85em;\n font-weight: 600;\n color: #6c757d;\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.detail-value {\n font-size: 1em;\n color: #2c3e50;\n}\n\n/* Category Tree Dropdown */\n.category-selector {\n display: flex;\n gap: 8px;\n align-items: center;\n}\n\n.category-tree-dropdown {\n flex: 1;\n}\n\n.add-category-btn {\n background: #28a745;\n color: white;\n border: none;\n padding: 8px 12px;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s;\n display: flex;\n align-items: center;\n gap: 4px;\n}\n\n.add-category-btn:hover {\n background: #218838;\n transform: translateY(-1px);\n box-shadow: 0 2px 4px rgba(40,167,69,0.2);\n}\n\n/* Empty State */\n.empty-state {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 60px 20px;\n text-align: center;\n color: #6c757d;\n}\n\n.empty-state-icon {\n font-size: 48px;\n margin-bottom: 16px;\n opacity: 0.3;\n}\n\n.empty-state-title {\n font-size: 1.2em;\n font-weight: 600;\n margin-bottom: 8px;\n color: #495057;\n}\n\n.empty-state-text {\n font-size: 0.9em;\n margin-bottom: 20px;\n}\n\n.add-param-btn {\n background: #007bff;\n color: white;\n border: none;\n padding: 10px 20px;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s;\n display: flex;\n align-items: center;\n gap: 8px;\n font-weight: 500;\n}\n\n.add-param-btn:hover {\n background: #0056b3;\n transform: translateY(-1px);\n box-shadow: 0 2px 4px rgba(0,123,255,0.2);\n}"] }]
1558
1549
  }], null, { sqlEditor: [{
1559
1550
  type: ViewChild,
1560
1551
  args: ['sqlEditor']
1561
1552
  }] }); })();
1562
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryFormExtendedComponent, { className: "QueryFormExtendedComponent", filePath: "src/lib/custom/Queries/query-form.component.ts", lineNumber: 24 }); })();
1553
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJQueryFormComponentExtended, { className: "MJQueryFormComponentExtended", filePath: "src/lib/custom/Queries/query-form.component.ts", lineNumber: 24 }); })();
1563
1554
  //# sourceMappingURL=query-form.component.js.map