@memberjunction/ng-core-entity-forms 6.1.4 → 6.2.0-edge.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (327) hide show
  1. package/README.md +22 -0
  2. package/dist/lib/custom/AIAgentCategories/ai-agent-category-overview.panel.d.ts +1 -1
  3. package/dist/lib/custom/AIAgentCategories/ai-agent-category-overview.panel.js +2 -2
  4. package/dist/lib/custom/AIAgentCategories/ai-agent-category-overview.panel.js.map +1 -1
  5. package/dist/lib/custom/AIAgentSessions/ai-agent-session-form.component.js.map +1 -1
  6. package/dist/lib/custom/AIAgents/add-action-dialog.component.d.ts +90 -16
  7. package/dist/lib/custom/AIAgents/add-action-dialog.component.d.ts.map +1 -1
  8. package/dist/lib/custom/AIAgents/add-action-dialog.component.js +218 -70
  9. package/dist/lib/custom/AIAgents/add-action-dialog.component.js.map +1 -1
  10. package/dist/lib/custom/AIAgents/agent-prompt-advanced-settings-dialog.component.d.ts +80 -16
  11. package/dist/lib/custom/AIAgents/agent-prompt-advanced-settings-dialog.component.d.ts.map +1 -1
  12. package/dist/lib/custom/AIAgents/agent-prompt-advanced-settings-dialog.component.js +146 -46
  13. package/dist/lib/custom/AIAgents/agent-prompt-advanced-settings-dialog.component.js.map +1 -1
  14. package/dist/lib/custom/AIAgents/ai-agent-form.component.d.ts +329 -27
  15. package/dist/lib/custom/AIAgents/ai-agent-form.component.d.ts.map +1 -1
  16. package/dist/lib/custom/AIAgents/ai-agent-form.component.js +794 -262
  17. package/dist/lib/custom/AIAgents/ai-agent-form.component.js.map +1 -1
  18. package/dist/lib/custom/AIAgents/ai-agent-management.service.d.ts +76 -0
  19. package/dist/lib/custom/AIAgents/ai-agent-management.service.d.ts.map +1 -1
  20. package/dist/lib/custom/AIAgents/ai-agent-management.service.js +77 -33
  21. package/dist/lib/custom/AIAgents/ai-agent-management.service.js.map +1 -1
  22. package/dist/lib/custom/AIAgents/create-prompt-dialog.component.d.ts +69 -15
  23. package/dist/lib/custom/AIAgents/create-prompt-dialog.component.d.ts.map +1 -1
  24. package/dist/lib/custom/AIAgents/create-prompt-dialog.component.js +182 -74
  25. package/dist/lib/custom/AIAgents/create-prompt-dialog.component.js.map +1 -1
  26. package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.d.ts +105 -25
  27. package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.d.ts.map +1 -1
  28. package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.js +272 -112
  29. package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.js.map +1 -1
  30. package/dist/lib/custom/AIAgents/new-agent-dialog.component.d.ts +32 -6
  31. package/dist/lib/custom/AIAgents/new-agent-dialog.component.d.ts.map +1 -1
  32. package/dist/lib/custom/AIAgents/new-agent-dialog.component.js +71 -19
  33. package/dist/lib/custom/AIAgents/new-agent-dialog.component.js.map +1 -1
  34. package/dist/lib/custom/AIAgents/new-agent-dialog.service.d.ts +10 -0
  35. package/dist/lib/custom/AIAgents/new-agent-dialog.service.d.ts.map +1 -1
  36. package/dist/lib/custom/AIAgents/new-agent-dialog.service.js +27 -7
  37. package/dist/lib/custom/AIAgents/new-agent-dialog.service.js.map +1 -1
  38. package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.d.ts +65 -15
  39. package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.d.ts.map +1 -1
  40. package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.js +152 -52
  41. package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.js.map +1 -1
  42. package/dist/lib/custom/AIAgents/sub-agent-advanced-settings-dialog.component.d.ts +81 -15
  43. package/dist/lib/custom/AIAgents/sub-agent-advanced-settings-dialog.component.d.ts.map +1 -1
  44. package/dist/lib/custom/AIAgents/sub-agent-advanced-settings-dialog.component.js +145 -45
  45. package/dist/lib/custom/AIAgents/sub-agent-advanced-settings-dialog.component.js.map +1 -1
  46. package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.d.ts +71 -17
  47. package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.d.ts.map +1 -1
  48. package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.js +175 -67
  49. package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.js.map +1 -1
  50. package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.d.ts +173 -27
  51. package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.d.ts.map +1 -1
  52. package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.js +385 -93
  53. package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.js.map +1 -1
  54. package/dist/lib/custom/AIPromptRuns/chat-message-viewer.component.d.ts +64 -4
  55. package/dist/lib/custom/AIPromptRuns/chat-message-viewer.component.d.ts.map +1 -1
  56. package/dist/lib/custom/AIPromptRuns/chat-message-viewer.component.js +129 -29
  57. package/dist/lib/custom/AIPromptRuns/chat-message-viewer.component.js.map +1 -1
  58. package/dist/lib/custom/AIPrompts/ai-prompt-form.component.d.ts +260 -27
  59. package/dist/lib/custom/AIPrompts/ai-prompt-form.component.d.ts.map +1 -1
  60. package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js +686 -238
  61. package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js.map +1 -1
  62. package/dist/lib/custom/AIPrompts/ai-prompt-management.service.d.ts +10 -0
  63. package/dist/lib/custom/AIPrompts/ai-prompt-management.service.d.ts.map +1 -1
  64. package/dist/lib/custom/AIPrompts/ai-prompt-management.service.js +17 -9
  65. package/dist/lib/custom/AIPrompts/ai-prompt-management.service.js.map +1 -1
  66. package/dist/lib/custom/AIPrompts/template-selector-dialog.component.d.ts +74 -16
  67. package/dist/lib/custom/AIPrompts/template-selector-dialog.component.d.ts.map +1 -1
  68. package/dist/lib/custom/AIPrompts/template-selector-dialog.component.js +174 -58
  69. package/dist/lib/custom/AIPrompts/template-selector-dialog.component.js.map +1 -1
  70. package/dist/lib/custom/Actions/action-execution-log-form.component.d.ts +108 -14
  71. package/dist/lib/custom/Actions/action-execution-log-form.component.d.ts.map +1 -1
  72. package/dist/lib/custom/Actions/action-execution-log-form.component.js +258 -70
  73. package/dist/lib/custom/Actions/action-execution-log-form.component.js.map +1 -1
  74. package/dist/lib/custom/Actions/action-form.component.d.ts +198 -14
  75. package/dist/lib/custom/Actions/action-form.component.d.ts.map +1 -1
  76. package/dist/lib/custom/Actions/action-form.component.js +387 -107
  77. package/dist/lib/custom/Actions/action-form.component.js.map +1 -1
  78. package/dist/lib/custom/BridgeProviders/bridge-provider-features.d.ts +12 -6
  79. package/dist/lib/custom/BridgeProviders/bridge-provider-features.d.ts.map +1 -1
  80. package/dist/lib/custom/BridgeProviders/bridge-provider-features.js +41 -29
  81. package/dist/lib/custom/BridgeProviders/bridge-provider-features.js.map +1 -1
  82. package/dist/lib/custom/BridgeProviders/bridge-provider-form.component.js +14 -14
  83. package/dist/lib/custom/BridgeProviders/bridge-provider-form.component.js.map +1 -1
  84. package/dist/lib/custom/Companies/company-overview.panel.d.ts +1 -1
  85. package/dist/lib/custom/Companies/company-overview.panel.js +2 -2
  86. package/dist/lib/custom/Companies/company-overview.panel.js.map +1 -1
  87. package/dist/lib/custom/Conversations/conversation-overview.panel.d.ts +1 -1
  88. package/dist/lib/custom/Conversations/conversation-overview.panel.js +2 -2
  89. package/dist/lib/custom/Conversations/conversation-overview.panel.js.map +1 -1
  90. package/dist/lib/custom/Employees/employee-overview.panel.d.ts +1 -1
  91. package/dist/lib/custom/Employees/employee-overview.panel.js +2 -2
  92. package/dist/lib/custom/Employees/employee-overview.panel.js.map +1 -1
  93. package/dist/lib/custom/Entities/entity-form.component.d.ts +209 -28
  94. package/dist/lib/custom/Entities/entity-form.component.d.ts.map +1 -1
  95. package/dist/lib/custom/Entities/entity-form.component.js +494 -138
  96. package/dist/lib/custom/Entities/entity-form.component.js.map +1 -1
  97. package/dist/lib/custom/EntityActions/entityaction.form.component.d.ts +5 -1
  98. package/dist/lib/custom/EntityActions/entityaction.form.component.d.ts.map +1 -1
  99. package/dist/lib/custom/EntityActions/entityaction.form.component.js +10 -2
  100. package/dist/lib/custom/EntityActions/entityaction.form.component.js.map +1 -1
  101. package/dist/lib/custom/Files/file-form.component.d.ts +1 -1
  102. package/dist/lib/custom/Files/file-form.component.js +2 -2
  103. package/dist/lib/custom/Files/file-form.component.js.map +1 -1
  104. package/dist/lib/custom/Lists/list-form.component.d.ts +300 -36
  105. package/dist/lib/custom/Lists/list-form.component.d.ts.map +1 -1
  106. package/dist/lib/custom/Lists/list-form.component.js +664 -208
  107. package/dist/lib/custom/Lists/list-form.component.js.map +1 -1
  108. package/dist/lib/custom/MLModels/ml-model-form.component.d.ts +27 -0
  109. package/dist/lib/custom/MLModels/ml-model-form.component.d.ts.map +1 -0
  110. package/dist/lib/custom/MLModels/ml-model-form.component.js +193 -0
  111. package/dist/lib/custom/MLModels/ml-model-form.component.js.map +1 -0
  112. package/dist/lib/custom/MLModels/ml-model-view-models.d.ts +75 -0
  113. package/dist/lib/custom/MLModels/ml-model-view-models.d.ts.map +1 -0
  114. package/dist/lib/custom/MLModels/ml-model-view-models.js +244 -0
  115. package/dist/lib/custom/MLModels/ml-model-view-models.js.map +1 -0
  116. package/dist/lib/custom/MLModels/ps-model-detail.component.d.ts +173 -0
  117. package/dist/lib/custom/MLModels/ps-model-detail.component.d.ts.map +1 -0
  118. package/dist/lib/custom/MLModels/ps-model-detail.component.js +883 -0
  119. package/dist/lib/custom/MLModels/ps-model-detail.component.js.map +1 -0
  120. package/dist/lib/custom/Queries/query-form.component.d.ts +201 -26
  121. package/dist/lib/custom/Queries/query-form.component.d.ts.map +1 -1
  122. package/dist/lib/custom/Queries/query-form.component.js +429 -109
  123. package/dist/lib/custom/Queries/query-form.component.js.map +1 -1
  124. package/dist/lib/custom/Queries/query-run-dialog.component.d.ts +107 -14
  125. package/dist/lib/custom/Queries/query-run-dialog.component.d.ts.map +1 -1
  126. package/dist/lib/custom/Queries/query-run-dialog.component.js +249 -79
  127. package/dist/lib/custom/Queries/query-run-dialog.component.js.map +1 -1
  128. package/dist/lib/custom/RecordProcesses/record-process-form.component.d.ts +133 -7
  129. package/dist/lib/custom/RecordProcesses/record-process-form.component.d.ts.map +1 -1
  130. package/dist/lib/custom/RecordProcesses/record-process-form.component.js +1268 -19
  131. package/dist/lib/custom/RecordProcesses/record-process-form.component.js.map +1 -1
  132. package/dist/lib/custom/SearchScopes/searchscope-form.component.d.ts +1 -1
  133. package/dist/lib/custom/SearchScopes/searchscope-form.component.js +4 -4
  134. package/dist/lib/custom/SearchScopes/searchscope-form.component.js.map +1 -1
  135. package/dist/lib/custom/SessionBridges/session-bridge-form.component.js.map +1 -1
  136. package/dist/lib/custom/Templates/template-param-dialog.component.d.ts +77 -13
  137. package/dist/lib/custom/Templates/template-param-dialog.component.d.ts.map +1 -1
  138. package/dist/lib/custom/Templates/template-param-dialog.component.js +196 -78
  139. package/dist/lib/custom/Templates/template-param-dialog.component.js.map +1 -1
  140. package/dist/lib/custom/Templates/template-params-grid.component.d.ts +49 -7
  141. package/dist/lib/custom/Templates/template-params-grid.component.d.ts.map +1 -1
  142. package/dist/lib/custom/Templates/template-params-grid.component.js +132 -44
  143. package/dist/lib/custom/Templates/template-params-grid.component.js.map +1 -1
  144. package/dist/lib/custom/Templates/templates-form.component.d.ts +142 -17
  145. package/dist/lib/custom/Templates/templates-form.component.d.ts.map +1 -1
  146. package/dist/lib/custom/Templates/templates-form.component.js +333 -113
  147. package/dist/lib/custom/Templates/templates-form.component.js.map +1 -1
  148. package/dist/lib/custom/Tests/entity-link-pill.component.d.ts +24 -4
  149. package/dist/lib/custom/Tests/entity-link-pill.component.d.ts.map +1 -1
  150. package/dist/lib/custom/Tests/entity-link-pill.component.js +64 -20
  151. package/dist/lib/custom/Tests/entity-link-pill.component.js.map +1 -1
  152. package/dist/lib/custom/Tests/test-form.component.d.ts +217 -27
  153. package/dist/lib/custom/Tests/test-form.component.d.ts.map +1 -1
  154. package/dist/lib/custom/Tests/test-form.component.js +549 -169
  155. package/dist/lib/custom/Tests/test-form.component.js.map +1 -1
  156. package/dist/lib/custom/Tests/test-run-checks.d.ts +2 -0
  157. package/dist/lib/custom/Tests/test-run-checks.d.ts.map +1 -1
  158. package/dist/lib/custom/Tests/test-run-checks.js +5 -1
  159. package/dist/lib/custom/Tests/test-run-checks.js.map +1 -1
  160. package/dist/lib/custom/Tests/test-run-feedback-form.component.d.ts +2 -0
  161. package/dist/lib/custom/Tests/test-run-feedback-form.component.d.ts.map +1 -1
  162. package/dist/lib/custom/Tests/test-run-feedback-form.component.js +5 -1
  163. package/dist/lib/custom/Tests/test-run-feedback-form.component.js.map +1 -1
  164. package/dist/lib/custom/Tests/test-run-form.component.d.ts +146 -18
  165. package/dist/lib/custom/Tests/test-run-form.component.d.ts.map +1 -1
  166. package/dist/lib/custom/Tests/test-run-form.component.js +362 -106
  167. package/dist/lib/custom/Tests/test-run-form.component.js.map +1 -1
  168. package/dist/lib/custom/Tests/test-suite-form.component.d.ts +390 -47
  169. package/dist/lib/custom/Tests/test-suite-form.component.d.ts.map +1 -1
  170. package/dist/lib/custom/Tests/test-suite-form.component.js +1015 -343
  171. package/dist/lib/custom/Tests/test-suite-form.component.js.map +1 -1
  172. package/dist/lib/custom/Tests/test-suite-run-form.component.d.ts +214 -26
  173. package/dist/lib/custom/Tests/test-suite-run-form.component.d.ts.map +1 -1
  174. package/dist/lib/custom/Tests/test-suite-run-form.component.js +535 -159
  175. package/dist/lib/custom/Tests/test-suite-run-form.component.js.map +1 -1
  176. package/dist/lib/custom/Users/user-overview.panel.d.ts +1 -1
  177. package/dist/lib/custom/Users/user-overview.panel.js +2 -2
  178. package/dist/lib/custom/Users/user-overview.panel.js.map +1 -1
  179. package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.d.ts +208 -29
  180. package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.d.ts.map +1 -1
  181. package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.js +446 -138
  182. package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.js.map +1 -1
  183. package/dist/lib/custom/ai-agent-run/ai-agent-run-cost.service.d.ts +6 -0
  184. package/dist/lib/custom/ai-agent-run/ai-agent-run-cost.service.d.ts.map +1 -1
  185. package/dist/lib/custom/ai-agent-run/ai-agent-run-cost.service.js +16 -4
  186. package/dist/lib/custom/ai-agent-run/ai-agent-run-cost.service.js.map +1 -1
  187. package/dist/lib/custom/ai-agent-run/ai-agent-run-data.service.d.ts +50 -6
  188. package/dist/lib/custom/ai-agent-run/ai-agent-run-data.service.d.ts.map +1 -1
  189. package/dist/lib/custom/ai-agent-run/ai-agent-run-data.service.js +84 -12
  190. package/dist/lib/custom/ai-agent-run/ai-agent-run-data.service.js.map +1 -1
  191. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.d.ts +89 -5
  192. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.d.ts.map +1 -1
  193. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.js +216 -70
  194. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.js.map +1 -1
  195. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.d.ts +62 -3
  196. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.d.ts.map +1 -1
  197. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.js +140 -42
  198. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.js.map +1 -1
  199. package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.d.ts +81 -10
  200. package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.d.ts.map +1 -1
  201. package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.js +165 -37
  202. package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.js.map +1 -1
  203. package/dist/lib/custom/ai-agent-run/ai-agent-run.component.d.ts +121 -14
  204. package/dist/lib/custom/ai-agent-run/ai-agent-run.component.d.ts.map +1 -1
  205. package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js +287 -79
  206. package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js.map +1 -1
  207. package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.component.d.ts +101 -15
  208. package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.component.d.ts.map +1 -1
  209. package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.component.js +281 -97
  210. package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.component.js.map +1 -1
  211. package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.model.d.ts +43 -25
  212. package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.model.d.ts.map +1 -1
  213. package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.model.js +100 -64
  214. package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.model.js.map +1 -1
  215. package/dist/lib/custom/ai-agent-run/flow/constellation.component.d.ts +14 -2
  216. package/dist/lib/custom/ai-agent-run/flow/constellation.component.d.ts.map +1 -1
  217. package/dist/lib/custom/ai-agent-run/flow/constellation.component.js +71 -53
  218. package/dist/lib/custom/ai-agent-run/flow/constellation.component.js.map +1 -1
  219. package/dist/lib/custom/ai-agent-run/flow/flame-cascade.component.d.ts +14 -2
  220. package/dist/lib/custom/ai-agent-run/flow/flame-cascade.component.d.ts.map +1 -1
  221. package/dist/lib/custom/ai-agent-run/flow/flame-cascade.component.js +70 -52
  222. package/dist/lib/custom/ai-agent-run/flow/flame-cascade.component.js.map +1 -1
  223. package/dist/lib/custom/ai-agent-run/flow/flow-svg.util.d.ts +8 -0
  224. package/dist/lib/custom/ai-agent-run/flow/flow-svg.util.d.ts.map +1 -1
  225. package/dist/lib/custom/ai-agent-run/flow/flow-svg.util.js +22 -6
  226. package/dist/lib/custom/ai-agent-run/flow/flow-svg.util.js.map +1 -1
  227. package/dist/lib/custom/ai-agent-run/flow/flowchart.component.d.ts +24 -2
  228. package/dist/lib/custom/ai-agent-run/flow/flowchart.component.d.ts.map +1 -1
  229. package/dist/lib/custom/ai-agent-run/flow/flowchart.component.js +91 -59
  230. package/dist/lib/custom/ai-agent-run/flow/flowchart.component.js.map +1 -1
  231. package/dist/lib/custom/ai-agent-run/flow/pan-zoom.d.ts +10 -2
  232. package/dist/lib/custom/ai-agent-run/flow/pan-zoom.d.ts.map +1 -1
  233. package/dist/lib/custom/ai-agent-run/flow/pan-zoom.js +33 -17
  234. package/dist/lib/custom/ai-agent-run/flow/pan-zoom.js.map +1 -1
  235. package/dist/lib/custom/ai-agent-run/flow/run-tree-flow-projection.d.ts +2 -0
  236. package/dist/lib/custom/ai-agent-run/flow/run-tree-flow-projection.d.ts.map +1 -1
  237. package/dist/lib/custom/ai-agent-run/flow/run-tree-flow-projection.js +34 -30
  238. package/dist/lib/custom/ai-agent-run/flow/run-tree-flow-projection.js.map +1 -1
  239. package/dist/lib/custom/ai-agent-run/flow/subway-lines.component.d.ts +14 -2
  240. package/dist/lib/custom/ai-agent-run/flow/subway-lines.component.d.ts.map +1 -1
  241. package/dist/lib/custom/ai-agent-run/flow/subway-lines.component.js +69 -51
  242. package/dist/lib/custom/ai-agent-run/flow/subway-lines.component.js.map +1 -1
  243. package/dist/lib/custom/custom-forms.module.d.ts +32 -30
  244. package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
  245. package/dist/lib/custom/custom-forms.module.js +21 -4
  246. package/dist/lib/custom/custom-forms.module.js.map +1 -1
  247. package/dist/lib/custom/shared/entity-selector-dialog.component.d.ts +38 -12
  248. package/dist/lib/custom/shared/entity-selector-dialog.component.d.ts.map +1 -1
  249. package/dist/lib/custom/shared/entity-selector-dialog.component.js +103 -51
  250. package/dist/lib/custom/shared/entity-selector-dialog.component.js.map +1 -1
  251. package/dist/lib/generated/Entities/MJAIPrompt/mjaiprompt.form.component.d.ts.map +1 -1
  252. package/dist/lib/generated/Entities/MJAIPrompt/mjaiprompt.form.component.js +62 -26
  253. package/dist/lib/generated/Entities/MJAIPrompt/mjaiprompt.form.component.js.map +1 -1
  254. package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.d.ts.map +1 -1
  255. package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js +59 -51
  256. package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js.map +1 -1
  257. package/dist/lib/generated/Entities/MJAIVendor/mjaivendor.form.component.js +76 -74
  258. package/dist/lib/generated/Entities/MJAIVendor/mjaivendor.form.component.js.map +1 -1
  259. package/dist/lib/generated/Entities/MJCredential/mjcredential.form.component.d.ts.map +1 -1
  260. package/dist/lib/generated/Entities/MJCredential/mjcredential.form.component.js +33 -15
  261. package/dist/lib/generated/Entities/MJCredential/mjcredential.form.component.js.map +1 -1
  262. package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.d.ts.map +1 -1
  263. package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js +100 -82
  264. package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js.map +1 -1
  265. package/dist/lib/generated/Entities/MJEntityField/mjentityfield.form.component.js +24 -20
  266. package/dist/lib/generated/Entities/MJEntityField/mjentityfield.form.component.js.map +1 -1
  267. package/dist/lib/generated/Entities/MJFeatureValue/mjfeaturevalue.form.component.d.ts +10 -0
  268. package/dist/lib/generated/Entities/MJFeatureValue/mjfeaturevalue.form.component.d.ts.map +1 -0
  269. package/dist/lib/generated/Entities/MJFeatureValue/mjfeaturevalue.form.component.js +122 -0
  270. package/dist/lib/generated/Entities/MJFeatureValue/mjfeaturevalue.form.component.js.map +1 -0
  271. package/dist/lib/generated/Entities/MJFeatureValueCache/mjfeaturevaluecache.form.component.d.ts +10 -0
  272. package/dist/lib/generated/Entities/MJFeatureValueCache/mjfeaturevaluecache.form.component.d.ts.map +1 -0
  273. package/dist/lib/generated/Entities/MJFeatureValueCache/mjfeaturevaluecache.form.component.js +125 -0
  274. package/dist/lib/generated/Entities/MJFeatureValueCache/mjfeaturevaluecache.form.component.js.map +1 -0
  275. package/dist/lib/generated/Entities/MJProcessRun/mjprocessrun.form.component.d.ts.map +1 -1
  276. package/dist/lib/generated/Entities/MJProcessRun/mjprocessrun.form.component.js +23 -5
  277. package/dist/lib/generated/Entities/MJProcessRun/mjprocessrun.form.component.js.map +1 -1
  278. package/dist/lib/generated/Entities/MJProcessRunDetail/mjprocessrundetail.form.component.d.ts.map +1 -1
  279. package/dist/lib/generated/Entities/MJProcessRunDetail/mjprocessrundetail.form.component.js +25 -6
  280. package/dist/lib/generated/Entities/MJProcessRunDetail/mjprocessrundetail.form.component.js.map +1 -1
  281. package/dist/lib/generated/Entities/MJProject/mjproject.form.component.js +27 -25
  282. package/dist/lib/generated/Entities/MJProject/mjproject.form.component.js.map +1 -1
  283. package/dist/lib/generated/Entities/MJQuery/mjquery.form.component.d.ts.map +1 -1
  284. package/dist/lib/generated/Entities/MJQuery/mjquery.form.component.js +11 -15
  285. package/dist/lib/generated/Entities/MJQuery/mjquery.form.component.js.map +1 -1
  286. package/dist/lib/generated/Entities/MJRecordProcess/mjrecordprocess.form.component.d.ts.map +1 -1
  287. package/dist/lib/generated/Entities/MJRecordProcess/mjrecordprocess.form.component.js +43 -7
  288. package/dist/lib/generated/Entities/MJRecordProcess/mjrecordprocess.form.component.js.map +1 -1
  289. package/dist/lib/generated/Entities/MJUser/mjuser.form.component.d.ts.map +1 -1
  290. package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js +155 -119
  291. package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js.map +1 -1
  292. package/dist/lib/generated/Entities/MJWebSearchProvider/mjwebsearchprovider.form.component.d.ts +10 -0
  293. package/dist/lib/generated/Entities/MJWebSearchProvider/mjwebsearchprovider.form.component.d.ts.map +1 -0
  294. package/dist/lib/generated/Entities/MJWebSearchProvider/mjwebsearchprovider.form.component.js +78 -0
  295. package/dist/lib/generated/Entities/MJWebSearchProvider/mjwebsearchprovider.form.component.js.map +1 -0
  296. package/dist/lib/generated/generated-forms.module.d.ts +240 -237
  297. package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
  298. package/dist/lib/generated/generated-forms.module.js +11 -2
  299. package/dist/lib/generated/generated-forms.module.js.map +1 -1
  300. package/dist/lib/panels/ai-skill-sharing/ai-skill-sharing-panel.component.d.ts +5 -1
  301. package/dist/lib/panels/ai-skill-sharing/ai-skill-sharing-panel.component.d.ts.map +1 -1
  302. package/dist/lib/panels/ai-skill-sharing/ai-skill-sharing-panel.component.js +11 -3
  303. package/dist/lib/panels/ai-skill-sharing/ai-skill-sharing-panel.component.js.map +1 -1
  304. package/dist/lib/panels/content-sources/tag-pipeline-configuration.panel.d.ts +2 -0
  305. package/dist/lib/panels/content-sources/tag-pipeline-configuration.panel.d.ts.map +1 -1
  306. package/dist/lib/panels/content-sources/tag-pipeline-configuration.panel.js +16 -12
  307. package/dist/lib/panels/content-sources/tag-pipeline-configuration.panel.js.map +1 -1
  308. package/dist/lib/panels/content-sources/website-crawler-settings.panel.d.ts +1 -1
  309. package/dist/lib/panels/content-sources/website-crawler-settings.panel.js +2 -2
  310. package/dist/lib/panels/content-sources/website-crawler-settings.panel.js.map +1 -1
  311. package/dist/lib/panels/model-predictions/model-prediction.logic.d.ts +122 -1
  312. package/dist/lib/panels/model-predictions/model-prediction.logic.d.ts.map +1 -1
  313. package/dist/lib/panels/model-predictions/model-prediction.logic.js +236 -11
  314. package/dist/lib/panels/model-predictions/model-prediction.logic.js.map +1 -1
  315. package/dist/lib/panels/model-predictions/model-prediction.panel.d.ts +72 -13
  316. package/dist/lib/panels/model-predictions/model-prediction.panel.d.ts.map +1 -1
  317. package/dist/lib/panels/model-predictions/model-prediction.panel.js +577 -78
  318. package/dist/lib/panels/model-predictions/model-prediction.panel.js.map +1 -1
  319. package/dist/lib/shared/components/template-editor.component.d.ts +133 -14
  320. package/dist/lib/shared/components/template-editor.component.d.ts.map +1 -1
  321. package/dist/lib/shared/components/template-editor.component.js +322 -124
  322. package/dist/lib/shared/components/template-editor.component.js.map +1 -1
  323. package/dist/public-api.d.ts +4 -0
  324. package/dist/public-api.d.ts.map +1 -1
  325. package/dist/public-api.js +4 -0
  326. package/dist/public-api.js.map +1 -1
  327. package/package.json +43 -41
@@ -456,21 +456,141 @@ export class QueryRunDialogComponent extends BaseAngularComponent {
456
456
  this.cdr = inject(ChangeDetectorRef);
457
457
  this.query = null;
458
458
  this.parameters = [];
459
- this.isVisible = false;
460
- this.isVisibleChange = new EventEmitter();
461
- this.onClose = new EventEmitter();
462
- this.isRunning = false;
463
- this.isLoadingParams = false;
464
- this.parameterPairs = [];
465
- this.parametersExpanded = true;
466
- this.resultsExpanded = true;
467
- this.paginationExpanded = false;
468
- this.runResult = null;
469
- this.resultColumns = [];
470
- this.resultRows = [];
471
- this.selectedRows = [];
472
- this.maxRows = null;
473
- this.startRow = 0;
459
+ this.IsVisible = false;
460
+ this.IsVisibleChange = new EventEmitter();
461
+ /**
462
+ * @deprecated Use {@link IsVisibleChange}.
463
+ *
464
+ * The same emitter under the old binding name, so a template still binding
465
+ * (isVisibleChange) keeps working. Must stay AFTER IsVisibleChange: class fields
466
+ * initialise in order, and the other way round this captures undefined.
467
+ */
468
+ this.isVisibleChange = this.IsVisibleChange;
469
+ this.OnClose = new EventEmitter();
470
+ /**
471
+ * @deprecated Use {@link OnClose}.
472
+ *
473
+ * The same emitter under the old binding name, so a template still binding
474
+ * (onClose) keeps working. Must stay AFTER OnClose: class fields
475
+ * initialise in order, and the other way round this captures undefined.
476
+ */
477
+ this.onClose = this.OnClose;
478
+ this.IsRunning = false;
479
+ this.IsLoadingParams = false;
480
+ this.ParameterPairs = [];
481
+ this.ParametersExpanded = true;
482
+ this.ResultsExpanded = true;
483
+ this.PaginationExpanded = false;
484
+ this.RunResult = null;
485
+ this.ResultColumns = [];
486
+ this.ResultRows = [];
487
+ this.SelectedRows = [];
488
+ this.MaxRows = null;
489
+ this.StartRow = 0;
490
+ }
491
+ /** @deprecated Use {@link IsVisible}. */
492
+ set isVisible(value) {
493
+ this.IsVisible = value;
494
+ }
495
+ /** @deprecated Use {@link IsVisible}. */
496
+ get isVisible() {
497
+ return this.IsVisible;
498
+ }
499
+ /** @deprecated Use {@link IsRunning}. */
500
+ get isRunning() {
501
+ return this.IsRunning;
502
+ }
503
+ /** @deprecated Use {@link IsRunning}. */
504
+ set isRunning(value) {
505
+ this.IsRunning = value;
506
+ }
507
+ /** @deprecated Use {@link IsLoadingParams}. */
508
+ get isLoadingParams() {
509
+ return this.IsLoadingParams;
510
+ }
511
+ /** @deprecated Use {@link IsLoadingParams}. */
512
+ set isLoadingParams(value) {
513
+ this.IsLoadingParams = value;
514
+ }
515
+ /** @deprecated Use {@link ParameterPairs}. */
516
+ get parameterPairs() {
517
+ return this.ParameterPairs;
518
+ }
519
+ /** @deprecated Use {@link ParameterPairs}. */
520
+ set parameterPairs(value) {
521
+ this.ParameterPairs = value;
522
+ }
523
+ /** @deprecated Use {@link ParametersExpanded}. */
524
+ get parametersExpanded() {
525
+ return this.ParametersExpanded;
526
+ }
527
+ /** @deprecated Use {@link ParametersExpanded}. */
528
+ set parametersExpanded(value) {
529
+ this.ParametersExpanded = value;
530
+ }
531
+ /** @deprecated Use {@link ResultsExpanded}. */
532
+ get resultsExpanded() {
533
+ return this.ResultsExpanded;
534
+ }
535
+ /** @deprecated Use {@link ResultsExpanded}. */
536
+ set resultsExpanded(value) {
537
+ this.ResultsExpanded = value;
538
+ }
539
+ /** @deprecated Use {@link PaginationExpanded}. */
540
+ get paginationExpanded() {
541
+ return this.PaginationExpanded;
542
+ }
543
+ /** @deprecated Use {@link PaginationExpanded}. */
544
+ set paginationExpanded(value) {
545
+ this.PaginationExpanded = value;
546
+ }
547
+ /** @deprecated Use {@link RunResult}. */
548
+ get runResult() {
549
+ return this.RunResult;
550
+ }
551
+ /** @deprecated Use {@link RunResult}. */
552
+ set runResult(value) {
553
+ this.RunResult = value;
554
+ }
555
+ /** @deprecated Use {@link ResultColumns}. */
556
+ get resultColumns() {
557
+ return this.ResultColumns;
558
+ }
559
+ /** @deprecated Use {@link ResultColumns}. */
560
+ set resultColumns(value) {
561
+ this.ResultColumns = value;
562
+ }
563
+ /** @deprecated Use {@link ResultRows}. */
564
+ get resultRows() {
565
+ return this.ResultRows;
566
+ }
567
+ /** @deprecated Use {@link ResultRows}. */
568
+ set resultRows(value) {
569
+ this.ResultRows = value;
570
+ }
571
+ /** @deprecated Use {@link SelectedRows}. */
572
+ get selectedRows() {
573
+ return this.SelectedRows;
574
+ }
575
+ /** @deprecated Use {@link SelectedRows}. */
576
+ set selectedRows(value) {
577
+ this.SelectedRows = value;
578
+ }
579
+ /** @deprecated Use {@link MaxRows}. */
580
+ get maxRows() {
581
+ return this.MaxRows;
582
+ }
583
+ /** @deprecated Use {@link MaxRows}. */
584
+ set maxRows(value) {
585
+ this.MaxRows = value;
586
+ }
587
+ /** @deprecated Use {@link StartRow}. */
588
+ get startRow() {
589
+ return this.StartRow;
590
+ }
591
+ /** @deprecated Use {@link StartRow}. */
592
+ set startRow(value) {
593
+ this.StartRow = value;
474
594
  }
475
595
  ngOnInit() {
476
596
  this.initializeParameters();
@@ -487,7 +607,7 @@ export class QueryRunDialogComponent extends BaseAngularComponent {
487
607
  if (!this.query || !this.parameters)
488
608
  return;
489
609
  // Create parameter pairs from defined query parameters only
490
- this.parameterPairs = this.parameters.map(param => ({
610
+ this.ParameterPairs = this.parameters.map(param => ({
491
611
  name: param.Name,
492
612
  value: param.DefaultValue || '',
493
613
  type: param.Type || 'string',
@@ -496,7 +616,7 @@ export class QueryRunDialogComponent extends BaseAngularComponent {
496
616
  isRequired: param.IsRequired || false
497
617
  }));
498
618
  }
499
- getValueListOptions(valueList) {
619
+ GetValueListOptions(valueList) {
500
620
  if (!valueList)
501
621
  return [];
502
622
  try {
@@ -507,7 +627,11 @@ export class QueryRunDialogComponent extends BaseAngularComponent {
507
627
  return [];
508
628
  }
509
629
  }
510
- isParameterValid(param) {
630
+ /** @deprecated Use {@link GetValueListOptions}. */
631
+ getValueListOptions(valueList) {
632
+ return this.GetValueListOptions(valueList);
633
+ }
634
+ IsParameterValid(param) {
511
635
  if (param.isRequired && !param.value) {
512
636
  return false;
513
637
  }
@@ -517,21 +641,25 @@ export class QueryRunDialogComponent extends BaseAngularComponent {
517
641
  }
518
642
  return true;
519
643
  }
520
- async runQuery(isPaginationRequest = false) {
644
+ /** @deprecated Use {@link IsParameterValid}. */
645
+ isParameterValid(param) {
646
+ return this.IsParameterValid(param);
647
+ }
648
+ async RunQuery(isPaginationRequest = false) {
521
649
  if (!this.query?.ID)
522
650
  return;
523
651
  // Validate required parameters
524
- const invalidParams = this.parameterPairs.filter(p => p.isRequired && !p.value);
652
+ const invalidParams = this.ParameterPairs.filter(p => p.isRequired && !p.value);
525
653
  if (invalidParams.length > 0) {
526
654
  MJNotificationService.Instance.CreateSimpleNotification(`Required parameters missing: ${invalidParams.map(p => p.name).join(', ')}`, 'warning', 3000);
527
655
  return;
528
656
  }
529
- this.isRunning = true;
530
- this.runResult = null;
657
+ this.IsRunning = true;
658
+ this.RunResult = null;
531
659
  try {
532
660
  // Build parameters object
533
661
  const queryParameters = {};
534
- this.parameterPairs.forEach(param => {
662
+ this.ParameterPairs.forEach(param => {
535
663
  if (param.value) {
536
664
  try {
537
665
  // Try to parse as JSON first, fallback to string
@@ -571,33 +699,33 @@ export class QueryRunDialogComponent extends BaseAngularComponent {
571
699
  Parameters: queryParameters
572
700
  };
573
701
  // Only include MaxRows if it's set
574
- if (this.maxRows && this.maxRows > 0) {
575
- variables.MaxRows = this.maxRows;
702
+ if (this.MaxRows && this.MaxRows > 0) {
703
+ variables.MaxRows = this.MaxRows;
576
704
  }
577
705
  // Only include StartRow if it's set and greater than 0
578
- if (this.startRow && this.startRow > 0) {
579
- variables.StartRow = this.startRow;
706
+ if (this.StartRow && this.StartRow > 0) {
707
+ variables.StartRow = this.StartRow;
580
708
  }
581
709
  console.log('Executing query with variables:', variables);
582
710
  const response = await dataProvider.ExecuteGQL(query, variables);
583
711
  if (response?.GetQueryData) {
584
- this.runResult = response.GetQueryData;
585
- if (this.runResult.Success && this.runResult.Results) {
712
+ this.RunResult = response.GetQueryData;
713
+ if (this.RunResult.Success && this.RunResult.Results) {
586
714
  // Parse the JSON string results
587
715
  try {
588
- const parsedResults = JSON.parse(this.runResult.Results);
716
+ const parsedResults = JSON.parse(this.RunResult.Results);
589
717
  this.processResults(parsedResults);
590
718
  // Only show notification on first run (not pagination)
591
719
  if (!isPaginationRequest) {
592
- const rowCountMsg = this.runResult.TotalRowCount > this.runResult.RowCount
593
- ? `Query executed successfully. Showing ${this.runResult.RowCount} of ${this.runResult.TotalRowCount} total rows.`
594
- : `Query executed successfully. ${this.runResult.RowCount} rows returned.`;
720
+ const rowCountMsg = this.RunResult.TotalRowCount > this.RunResult.RowCount
721
+ ? `Query executed successfully. Showing ${this.RunResult.RowCount} of ${this.RunResult.TotalRowCount} total rows.`
722
+ : `Query executed successfully. ${this.RunResult.RowCount} rows returned.`;
595
723
  MJNotificationService.Instance.CreateSimpleNotification(rowCountMsg, 'success', 3000);
596
724
  }
597
725
  // Automatically expand results and collapse other sections
598
- this.parametersExpanded = false;
599
- this.paginationExpanded = false;
600
- this.resultsExpanded = true;
726
+ this.ParametersExpanded = false;
727
+ this.PaginationExpanded = false;
728
+ this.ResultsExpanded = true;
601
729
  }
602
730
  catch (error) {
603
731
  console.error('Error parsing results:', error);
@@ -605,12 +733,12 @@ export class QueryRunDialogComponent extends BaseAngularComponent {
605
733
  }
606
734
  }
607
735
  else {
608
- console.error('Query execution failed:', this.runResult);
609
- MJNotificationService.Instance.CreateSimpleNotification(this.runResult?.ErrorMessage || 'Query execution failed', 'error', 3000);
736
+ console.error('Query execution failed:', this.RunResult);
737
+ MJNotificationService.Instance.CreateSimpleNotification(this.RunResult?.ErrorMessage || 'Query execution failed', 'error', 3000);
610
738
  // Expand results section to show error
611
- this.parametersExpanded = false;
612
- this.paginationExpanded = false;
613
- this.resultsExpanded = true;
739
+ this.ParametersExpanded = false;
740
+ this.PaginationExpanded = false;
741
+ this.ResultsExpanded = true;
614
742
  }
615
743
  }
616
744
  else {
@@ -619,7 +747,7 @@ export class QueryRunDialogComponent extends BaseAngularComponent {
619
747
  }
620
748
  catch (error) {
621
749
  console.error('Error running query:', error);
622
- this.runResult = {
750
+ this.RunResult = {
623
751
  QueryID: this.query.ID,
624
752
  QueryName: this.query.Name,
625
753
  Success: false,
@@ -632,25 +760,29 @@ export class QueryRunDialogComponent extends BaseAngularComponent {
632
760
  MJNotificationService.Instance.CreateSimpleNotification('Failed to execute query. Please check your parameters and try again.', 'error', 3000);
633
761
  }
634
762
  finally {
635
- this.isRunning = false;
763
+ this.IsRunning = false;
636
764
  this.cdr.detectChanges();
637
765
  }
638
766
  }
767
+ /** @deprecated Use {@link RunQuery}. */
768
+ async runQuery(isPaginationRequest = false) {
769
+ return this.RunQuery(isPaginationRequest);
770
+ }
639
771
  processResults(results) {
640
772
  if (!results || results.length === 0) {
641
- this.resultColumns = [];
642
- this.resultRows = [];
773
+ this.ResultColumns = [];
774
+ this.ResultRows = [];
643
775
  return;
644
776
  }
645
777
  // Extract columns from first row
646
778
  const firstRow = results[0];
647
- this.resultColumns = Object.keys(firstRow).map(key => ({
779
+ this.ResultColumns = Object.keys(firstRow).map(key => ({
648
780
  field: key,
649
781
  title: this.formatColumnTitle(key),
650
782
  width: this.calculateColumnWidth(key, results)
651
783
  }));
652
784
  // Set rows
653
- this.resultRows = results;
785
+ this.ResultRows = results;
654
786
  }
655
787
  formatColumnTitle(field) {
656
788
  // Convert camelCase or snake_case to Title Case
@@ -667,14 +799,14 @@ export class QueryRunDialogComponent extends BaseAngularComponent {
667
799
  const maxLength = Math.max(field.length, ...data.slice(0, 10).map(row => String(row[field] || '').length));
668
800
  return Math.min(Math.max(maxLength * 10, 100), 300);
669
801
  }
670
- exportToCSV() {
671
- if (!this.resultRows || this.resultRows.length === 0) {
802
+ ExportToCSV() {
803
+ if (!this.ResultRows || this.ResultRows.length === 0) {
672
804
  MJNotificationService.Instance.CreateSimpleNotification('No data to export', 'warning', 3000);
673
805
  return;
674
806
  }
675
807
  // Create CSV content
676
- const headers = this.resultColumns.map(col => col.title).join(',');
677
- const rows = this.resultRows.map(row => this.resultColumns.map(col => {
808
+ const headers = this.ResultColumns.map(col => col.title).join(',');
809
+ const rows = this.ResultRows.map(row => this.ResultColumns.map(col => {
678
810
  const value = row[col.field];
679
811
  // Escape values containing commas or quotes
680
812
  if (typeof value === 'string' && (value.includes(',') || value.includes('"'))) {
@@ -695,15 +827,19 @@ export class QueryRunDialogComponent extends BaseAngularComponent {
695
827
  window.URL.revokeObjectURL(url);
696
828
  MJNotificationService.Instance.CreateSimpleNotification('Results exported to CSV', 'success', 3000);
697
829
  }
698
- async copyToClipboard() {
699
- if (!this.resultRows || this.resultRows.length === 0) {
830
+ /** @deprecated Use {@link ExportToCSV}. */
831
+ exportToCSV() {
832
+ return this.ExportToCSV();
833
+ }
834
+ async CopyToClipboard() {
835
+ if (!this.ResultRows || this.ResultRows.length === 0) {
700
836
  MJNotificationService.Instance.CreateSimpleNotification('No data to copy', 'warning', 3000);
701
837
  return;
702
838
  }
703
839
  try {
704
840
  // Create tab-delimited content for pasting into Excel
705
- const headers = this.resultColumns.map(col => col.title).join('\t');
706
- const rows = this.resultRows.map(row => this.resultColumns.map(col => row[col.field] || '').join('\t'));
841
+ const headers = this.ResultColumns.map(col => col.title).join('\t');
842
+ const rows = this.ResultRows.map(row => this.ResultColumns.map(col => row[col.field] || '').join('\t'));
707
843
  const content = [headers, ...rows].join('\n');
708
844
  await navigator.clipboard.writeText(content);
709
845
  MJNotificationService.Instance.CreateSimpleNotification('Results copied to clipboard', 'success', 3000);
@@ -713,49 +849,77 @@ export class QueryRunDialogComponent extends BaseAngularComponent {
713
849
  MJNotificationService.Instance.CreateSimpleNotification('Failed to copy to clipboard', 'error', 3000);
714
850
  }
715
851
  }
852
+ /** @deprecated Use {@link CopyToClipboard}. */
853
+ async copyToClipboard() {
854
+ return this.CopyToClipboard();
855
+ }
716
856
  close() {
717
- this.isVisible = false;
718
- this.isVisibleChange.emit(false);
719
- this.onClose.emit();
857
+ this.IsVisible = false;
858
+ this.IsVisibleChange.emit(false);
859
+ this.OnClose.emit();
720
860
  // Reset state
721
- this.runResult = null;
722
- this.resultColumns = [];
723
- this.resultRows = [];
724
- this.selectedRows = [];
725
- this.startRow = 0;
861
+ this.RunResult = null;
862
+ this.ResultColumns = [];
863
+ this.ResultRows = [];
864
+ this.SelectedRows = [];
865
+ this.StartRow = 0;
726
866
  }
867
+ GetAppliedParametersCount() {
868
+ return this.ParameterPairs.filter(p => p.value).length;
869
+ }
870
+ /** @deprecated Use {@link GetAppliedParametersCount}. */
727
871
  getAppliedParametersCount() {
728
- return this.parameterPairs.filter(p => p.value).length;
872
+ return this.GetAppliedParametersCount();
873
+ }
874
+ HasInvalidParameters() {
875
+ return this.ParameterPairs.some(p => !this.IsParameterValid(p));
729
876
  }
877
+ /** @deprecated Use {@link HasInvalidParameters}. */
730
878
  hasInvalidParameters() {
731
- return this.parameterPairs.some(p => !this.isParameterValid(p));
879
+ return this.HasInvalidParameters();
732
880
  }
733
881
  // Pagination methods
882
+ GoToFirstPage() {
883
+ this.StartRow = 0;
884
+ this.RunQuery(true);
885
+ }
886
+ /** @deprecated Use {@link GoToFirstPage}. */
734
887
  goToFirstPage() {
735
- this.startRow = 0;
736
- this.runQuery(true);
888
+ return this.GoToFirstPage();
889
+ }
890
+ GoToPreviousPage() {
891
+ if (this.StartRow > 0 && this.MaxRows) {
892
+ this.StartRow = Math.max(0, this.StartRow - this.MaxRows);
893
+ this.RunQuery(true);
894
+ }
737
895
  }
896
+ /** @deprecated Use {@link GoToPreviousPage}. */
738
897
  goToPreviousPage() {
739
- if (this.startRow > 0 && this.maxRows) {
740
- this.startRow = Math.max(0, this.startRow - this.maxRows);
741
- this.runQuery(true);
898
+ return this.GoToPreviousPage();
899
+ }
900
+ GoToNextPage() {
901
+ if (this.MaxRows && this.RunResult && this.StartRow + this.RunResult.RowCount < this.RunResult.TotalRowCount) {
902
+ this.StartRow += this.MaxRows;
903
+ this.RunQuery(true);
742
904
  }
743
905
  }
906
+ /** @deprecated Use {@link GoToNextPage}. */
744
907
  goToNextPage() {
745
- if (this.maxRows && this.runResult && this.startRow + this.runResult.RowCount < this.runResult.TotalRowCount) {
746
- this.startRow += this.maxRows;
747
- this.runQuery(true);
908
+ return this.GoToNextPage();
909
+ }
910
+ GoToLastPage() {
911
+ if (this.MaxRows && this.RunResult) {
912
+ const totalPages = Math.ceil(this.RunResult.TotalRowCount / this.MaxRows);
913
+ this.StartRow = (totalPages - 1) * this.MaxRows;
914
+ this.RunQuery(true);
748
915
  }
749
916
  }
917
+ /** @deprecated Use {@link GoToLastPage}. */
750
918
  goToLastPage() {
751
- if (this.maxRows && this.runResult) {
752
- const totalPages = Math.ceil(this.runResult.TotalRowCount / this.maxRows);
753
- this.startRow = (totalPages - 1) * this.maxRows;
754
- this.runQuery(true);
755
- }
919
+ return this.GoToLastPage();
756
920
  }
757
921
  static { this.ɵfac = /*@__PURE__*/ (() => { let ɵQueryRunDialogComponent_BaseFactory; return function QueryRunDialogComponent_Factory(__ngFactoryType__) { return (ɵQueryRunDialogComponent_BaseFactory || (ɵQueryRunDialogComponent_BaseFactory = i0.ɵɵgetInheritedFactory(QueryRunDialogComponent)))(__ngFactoryType__ || QueryRunDialogComponent); }; })(); }
758
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryRunDialogComponent, selectors: [["mj-query-run-dialog"]], inputs: { query: "query", parameters: "parameters", isVisible: "isVisible" }, outputs: { isVisibleChange: "isVisibleChange", onClose: "onClose" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[3, "Visible", "Width"], [3, "Close", "Visible", "Width"], [2, "display", "flex", "align-items", "center", "gap", "8px"], [1, "fa-solid", "fa-play-circle", 2, "color", "var(--mj-brand-primary)"], [2, "display", "flex", "flex-direction", "column", "height", "100%", "overflow-y", "auto", "overflow-x", "hidden"], [2, "display", "flex", "align-items", "center", "justify-content", "center", "padding", "40px"], [1, "fa-solid", "fa-spinner", "fa-spin", 2, "font-size", "24px", "color", "var(--mj-text-muted)", "margin-right", "12px"], [2, "color", "var(--mj-text-muted)"], [2, "margin-bottom", "16px", "flex-shrink", "0", 3, "Expanded"], [2, "padding", "20px", "background", "var(--mj-bg-surface-sunken)", "border-radius", "6px", "margin-bottom", "16px", "text-align", "center", "color", "var(--mj-text-muted)"], [2, "margin-bottom", "16px", 3, "ExpandedChange", "Expanded"], ["mjAccordionTitle", ""], [2, "padding", "12px 0"], [2, "display", "flex", "flex-direction", "column", "gap", "12px"], [2, "display", "flex", "align-items", "center", "gap", "12px"], [2, "font-weight", "600", "color", "var(--mj-text-secondary)", "white-space", "nowrap", "min-width", "100px"], [1, "fa-solid", "fa-list-ol", 2, "color", "var(--mj-text-muted)", "margin-right", "6px"], ["type", "number", "min", "1", "step", "100", "placeholder", "All rows", 1, "mj-input", 2, "width", "150px", 3, "ngModelChange", "ngModel"], [2, "font-size", "0.85em", "color", "var(--mj-text-muted)"], [1, "fa-solid", "fa-forward", 2, "color", "var(--mj-text-muted)", "margin-right", "6px"], ["type", "number", "min", "0", "step", "1", "placeholder", "0", 1, "mj-input", 2, "width", "150px", 3, "ngModelChange", "ngModel"], [2, "flex", "1", "display", "flex", "flex-direction", "column", "overflow", "hidden", "min-height", "0", 3, "Expanded"], [2, "margin-bottom", "16px", "flex-shrink", "0", 3, "ExpandedChange", "Expanded"], [2, "margin-bottom", "12px", "color", "var(--mj-text-muted)", "font-size", "0.85em"], [1, "fa-solid", "fa-info-circle"], [2, "display", "flex", "flex-direction", "column", "gap", "16px"], [2, "background", "var(--mj-bg-surface-sunken)", "border", "1px solid var(--mj-border-default)", "border-radius", "6px", "padding", "16px"], [2, "display", "flex", "align-items", "center", "gap", "8px", "font-weight", "600"], [1, "fa-solid", "fa-sliders", 2, "color", "var(--mj-text-muted)"], [2, "background", "var(--mj-status-info)", "color", "var(--mj-text-inverse)", "padding", "2px 6px", "border-radius", "10px", "font-size", "0.7em"], [2, "display", "flex", "justify-content", "space-between", "align-items", "flex-start", "margin-bottom", "8px"], [2, "font-weight", "600", "color", "var(--mj-text-secondary)", "display", "flex", "align-items", "center", "gap", "6px"], [1, "fa-solid", "fa-at", 2, "color", "var(--mj-brand-primary)"], [2, "color", "#dc3545"], [2, "font-size", "0.85em", "color", "var(--mj-text-muted)", "margin-top", "4px"], [2, "display", "flex", "gap", "8px", "align-items", "center"], [1, "badge", 2, "background", "var(--mj-text-muted)", "color", "white", "padding", "2px 6px", "border-radius", "4px", "font-size", "0.75em"], ["title", "Required parameter is empty", 1, "fa-solid", "fa-exclamation-triangle", 2, "color", "#dc3545"], ["type", "number", "placeholder", "Enter number value...", 1, "mj-input", 2, "width", "100%", 3, "ngModel"], ["rows", "2", "placeholder", "Enter value (JSON, string, or number)...", 1, "mj-input", 2, "width", "100%", "font-family", "'Courier New', monospace", 3, "ngModel"], [2, "font-size", "0.8em", "color", "var(--mj-text-muted)", "margin-top", "4px"], ["type", "number", "placeholder", "Enter number value...", 1, "mj-input", 2, "width", "100%", 3, "ngModelChange", "ngModel"], ["rows", "2", "placeholder", "Enter value (JSON, string, or number)...", 1, "mj-input", 2, "width", "100%", "font-family", "'Courier New', monospace", 3, "ngModelChange", "ngModel"], [2, "background", "var(--mj-bg-surface-sunken)", "padding", "2px 4px", "border-radius", "3px"], [1, "fa-solid", "fa-table-list", 2, "color", "var(--mj-text-muted)"], [2, "background", "var(--mj-text-muted)", "color", "var(--mj-text-inverse)", "padding", "2px 6px", "border-radius", "10px", "font-size", "0.7em"], [2, "flex", "1", "display", "flex", "flex-direction", "column", "overflow", "hidden", "min-height", "0", 3, "ExpandedChange", "Expanded"], [2, "flex", "1", "display", "flex", "flex-direction", "column", "overflow", "hidden", "min-height", "0"], ["Variant", "error", "Title", "Query execution failed"], [1, "fa-solid", "fa-table", 2, "color", "var(--mj-status-success)"], [2, "background", "var(--mj-status-success)", "color", "var(--mj-text-inverse)", "padding", "2px 6px", "border-radius", "10px", "font-size", "0.7em"], [2, "color", "var(--mj-text-muted)", "font-size", "0.85em", "font-weight", "normal"], [1, "fa-solid", "fa-exclamation-circle", 2, "color", "var(--mj-status-error)"], [2, "display", "flex", "align-items", "center", "justify-content", "center", "height", "200px", "color", "var(--mj-text-muted)"], [2, "display", "flex", "justify-content", "space-between", "align-items", "center", "padding", "12px", "border-bottom", "1px solid var(--mj-border-default)"], [2, "display", "flex", "gap", "8px"], ["mjButton", "", "variant", "flat", "title", "Copy to clipboard", 3, "click"], [1, "fa-solid", "fa-copy"], ["mjButton", "", "variant", "flat", "title", "Export to CSV", 3, "click"], [1, "fa-solid", "fa-download"], [1, "results-table-container", 2, "flex", "1", "overflow", "auto", "border", "1px solid var(--mj-border-default)", "border-radius", "4px", "min-height", "0"], [1, "results-table", 2, "width", "100%", "border-collapse", "collapse", "font-size", "14px"], [2, "position", "sticky", "top", "0", "background", "var(--mj-bg-surface-sunken)", "z-index", "10"], [2, "padding", "12px 16px", "text-align", "left", "font-weight", "600", "color", "var(--mj-text-secondary)", "border-bottom", "2px solid var(--mj-border-default)", "background", "var(--mj-bg-surface-sunken)", "white-space", "nowrap"], [2, "border-bottom", "1px solid var(--mj-border-default)", "transition", "background-color 0.2s"], [2, "padding", "40px", "text-align", "center", "color", "var(--mj-text-muted)"], [2, "font-size", "0.9em", "color", "var(--mj-text-muted)"], [2, "display", "flex", "gap", "4px"], ["mjButton", "", "variant", "flat", "title", "First page", 3, "click", "disabled"], [1, "fa-solid", "fa-angles-left"], ["mjButton", "", "variant", "flat", "title", "Previous page", 3, "click", "disabled"], [1, "fa-solid", "fa-angle-left"], ["mjButton", "", "variant", "flat", "title", "Next page", 3, "click", "disabled"], [1, "fa-solid", "fa-angle-right"], ["mjButton", "", "variant", "flat", "title", "Last page", 3, "click", "disabled"], [1, "fa-solid", "fa-angles-right"], [2, "padding", "10px 16px", "color", "var(--mj-text-primary)", "max-width", "300px", "overflow", "hidden", "text-overflow", "ellipsis", "white-space", "nowrap", 3, "title"], [1, "fa-solid", "fa-table", 2, "font-size", "48px", "margin-bottom", "12px", "opacity", "0.3"], [1, "fa-solid", "fa-inbox", 2, "font-size", "48px", "margin-bottom", "12px"], [2, "margin-top", "8px", "font-family", "'Courier New', monospace", "font-size", "0.9em"], ["mjButton", "", 3, "click"], [1, "fa-solid", "fa-times"], ["mjButton", "", "variant", "primary", 3, "click", "disabled"], [1, "fa-solid", "fa-spinner", "fa-spin"], [1, "fa-solid", "fa-play"], [1, "fa-solid", "fa-refresh"]], template: function QueryRunDialogComponent_Template(rf, ctx) { if (rf & 1) {
922
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryRunDialogComponent, selectors: [["mj-query-run-dialog"]], inputs: { query: "query", parameters: "parameters", IsVisible: "IsVisible", isVisible: "isVisible" }, outputs: { IsVisibleChange: "IsVisibleChange", isVisibleChange: "isVisibleChange", OnClose: "OnClose", onClose: "onClose" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[3, "Visible", "Width"], [3, "Close", "Visible", "Width"], [2, "display", "flex", "align-items", "center", "gap", "8px"], [1, "fa-solid", "fa-play-circle", 2, "color", "var(--mj-brand-primary)"], [2, "display", "flex", "flex-direction", "column", "height", "100%", "overflow-y", "auto", "overflow-x", "hidden"], [2, "display", "flex", "align-items", "center", "justify-content", "center", "padding", "40px"], [1, "fa-solid", "fa-spinner", "fa-spin", 2, "font-size", "24px", "color", "var(--mj-text-muted)", "margin-right", "12px"], [2, "color", "var(--mj-text-muted)"], [2, "margin-bottom", "16px", "flex-shrink", "0", 3, "Expanded"], [2, "padding", "20px", "background", "var(--mj-bg-surface-sunken)", "border-radius", "6px", "margin-bottom", "16px", "text-align", "center", "color", "var(--mj-text-muted)"], [2, "margin-bottom", "16px", 3, "ExpandedChange", "Expanded"], ["mjAccordionTitle", ""], [2, "padding", "12px 0"], [2, "display", "flex", "flex-direction", "column", "gap", "12px"], [2, "display", "flex", "align-items", "center", "gap", "12px"], [2, "font-weight", "600", "color", "var(--mj-text-secondary)", "white-space", "nowrap", "min-width", "100px"], [1, "fa-solid", "fa-list-ol", 2, "color", "var(--mj-text-muted)", "margin-right", "6px"], ["type", "number", "min", "1", "step", "100", "placeholder", "All rows", 1, "mj-input", 2, "width", "150px", 3, "ngModelChange", "ngModel"], [2, "font-size", "0.85em", "color", "var(--mj-text-muted)"], [1, "fa-solid", "fa-forward", 2, "color", "var(--mj-text-muted)", "margin-right", "6px"], ["type", "number", "min", "0", "step", "1", "placeholder", "0", 1, "mj-input", 2, "width", "150px", 3, "ngModelChange", "ngModel"], [2, "flex", "1", "display", "flex", "flex-direction", "column", "overflow", "hidden", "min-height", "0", 3, "Expanded"], [2, "margin-bottom", "16px", "flex-shrink", "0", 3, "ExpandedChange", "Expanded"], [2, "margin-bottom", "12px", "color", "var(--mj-text-muted)", "font-size", "0.85em"], [1, "fa-solid", "fa-info-circle"], [2, "display", "flex", "flex-direction", "column", "gap", "16px"], [2, "background", "var(--mj-bg-surface-sunken)", "border", "1px solid var(--mj-border-default)", "border-radius", "6px", "padding", "16px"], [2, "display", "flex", "align-items", "center", "gap", "8px", "font-weight", "600"], [1, "fa-solid", "fa-sliders", 2, "color", "var(--mj-text-muted)"], [2, "background", "var(--mj-status-info)", "color", "var(--mj-text-inverse)", "padding", "2px 6px", "border-radius", "10px", "font-size", "0.7em"], [2, "display", "flex", "justify-content", "space-between", "align-items", "flex-start", "margin-bottom", "8px"], [2, "font-weight", "600", "color", "var(--mj-text-secondary)", "display", "flex", "align-items", "center", "gap", "6px"], [1, "fa-solid", "fa-at", 2, "color", "var(--mj-brand-primary)"], [2, "color", "#dc3545"], [2, "font-size", "0.85em", "color", "var(--mj-text-muted)", "margin-top", "4px"], [2, "display", "flex", "gap", "8px", "align-items", "center"], [1, "badge", 2, "background", "var(--mj-text-muted)", "color", "white", "padding", "2px 6px", "border-radius", "4px", "font-size", "0.75em"], ["title", "Required parameter is empty", 1, "fa-solid", "fa-exclamation-triangle", 2, "color", "#dc3545"], ["type", "number", "placeholder", "Enter number value...", 1, "mj-input", 2, "width", "100%", 3, "ngModel"], ["rows", "2", "placeholder", "Enter value (JSON, string, or number)...", 1, "mj-input", 2, "width", "100%", "font-family", "'Courier New', monospace", 3, "ngModel"], [2, "font-size", "0.8em", "color", "var(--mj-text-muted)", "margin-top", "4px"], ["type", "number", "placeholder", "Enter number value...", 1, "mj-input", 2, "width", "100%", 3, "ngModelChange", "ngModel"], ["rows", "2", "placeholder", "Enter value (JSON, string, or number)...", 1, "mj-input", 2, "width", "100%", "font-family", "'Courier New', monospace", 3, "ngModelChange", "ngModel"], [2, "background", "var(--mj-bg-surface-sunken)", "padding", "2px 4px", "border-radius", "3px"], [1, "fa-solid", "fa-table-list", 2, "color", "var(--mj-text-muted)"], [2, "background", "var(--mj-text-muted)", "color", "var(--mj-text-inverse)", "padding", "2px 6px", "border-radius", "10px", "font-size", "0.7em"], [2, "flex", "1", "display", "flex", "flex-direction", "column", "overflow", "hidden", "min-height", "0", 3, "ExpandedChange", "Expanded"], [2, "flex", "1", "display", "flex", "flex-direction", "column", "overflow", "hidden", "min-height", "0"], ["Variant", "error", "Title", "Query execution failed"], [1, "fa-solid", "fa-table", 2, "color", "var(--mj-status-success)"], [2, "background", "var(--mj-status-success)", "color", "var(--mj-text-inverse)", "padding", "2px 6px", "border-radius", "10px", "font-size", "0.7em"], [2, "color", "var(--mj-text-muted)", "font-size", "0.85em", "font-weight", "normal"], [1, "fa-solid", "fa-exclamation-circle", 2, "color", "var(--mj-status-error)"], [2, "display", "flex", "align-items", "center", "justify-content", "center", "height", "200px", "color", "var(--mj-text-muted)"], [2, "display", "flex", "justify-content", "space-between", "align-items", "center", "padding", "12px", "border-bottom", "1px solid var(--mj-border-default)"], [2, "display", "flex", "gap", "8px"], ["mjButton", "", "variant", "flat", "title", "Copy to clipboard", 3, "click"], [1, "fa-solid", "fa-copy"], ["mjButton", "", "variant", "flat", "title", "Export to CSV", 3, "click"], [1, "fa-solid", "fa-download"], [1, "results-table-container", 2, "flex", "1", "overflow", "auto", "border", "1px solid var(--mj-border-default)", "border-radius", "4px", "min-height", "0"], [1, "results-table", 2, "width", "100%", "border-collapse", "collapse", "font-size", "14px"], [2, "position", "sticky", "top", "0", "background", "var(--mj-bg-surface-sunken)", "z-index", "10"], [2, "padding", "12px 16px", "text-align", "left", "font-weight", "600", "color", "var(--mj-text-secondary)", "border-bottom", "2px solid var(--mj-border-default)", "background", "var(--mj-bg-surface-sunken)", "white-space", "nowrap"], [2, "border-bottom", "1px solid var(--mj-border-default)", "transition", "background-color 0.2s"], [2, "padding", "40px", "text-align", "center", "color", "var(--mj-text-muted)"], [2, "font-size", "0.9em", "color", "var(--mj-text-muted)"], [2, "display", "flex", "gap", "4px"], ["mjButton", "", "variant", "flat", "title", "First page", 3, "click", "disabled"], [1, "fa-solid", "fa-angles-left"], ["mjButton", "", "variant", "flat", "title", "Previous page", 3, "click", "disabled"], [1, "fa-solid", "fa-angle-left"], ["mjButton", "", "variant", "flat", "title", "Next page", 3, "click", "disabled"], [1, "fa-solid", "fa-angle-right"], ["mjButton", "", "variant", "flat", "title", "Last page", 3, "click", "disabled"], [1, "fa-solid", "fa-angles-right"], [2, "padding", "10px 16px", "color", "var(--mj-text-primary)", "max-width", "300px", "overflow", "hidden", "text-overflow", "ellipsis", "white-space", "nowrap", 3, "title"], [1, "fa-solid", "fa-table", 2, "font-size", "48px", "margin-bottom", "12px", "opacity", "0.3"], [1, "fa-solid", "fa-inbox", 2, "font-size", "48px", "margin-bottom", "12px"], [2, "margin-top", "8px", "font-family", "'Courier New', monospace", "font-size", "0.9em"], ["mjButton", "", 3, "click"], [1, "fa-solid", "fa-times"], ["mjButton", "", "variant", "primary", 3, "click", "disabled"], [1, "fa-solid", "fa-spinner", "fa-spin"], [1, "fa-solid", "fa-play"], [1, "fa-solid", "fa-refresh"]], template: function QueryRunDialogComponent_Template(rf, ctx) { if (rf & 1) {
759
923
  i0.ɵɵconditionalCreate(0, QueryRunDialogComponent_Conditional_0_Template, 11, 5, "mj-dialog", 0);
760
924
  } if (rf & 2) {
761
925
  i0.ɵɵconditional(ctx.isVisible ? 0 : -1);
@@ -768,10 +932,16 @@ export class QueryRunDialogComponent extends BaseAngularComponent {
768
932
  type: Input
769
933
  }], parameters: [{
770
934
  type: Input
935
+ }], IsVisible: [{
936
+ type: Input
771
937
  }], isVisible: [{
772
938
  type: Input
939
+ }], IsVisibleChange: [{
940
+ type: Output
773
941
  }], isVisibleChange: [{
774
942
  type: Output
943
+ }], OnClose: [{
944
+ type: Output
775
945
  }], onClose: [{
776
946
  type: Output
777
947
  }] }); })();