@memberjunction/ng-core-entity-forms 6.2.0-edge.0 → 6.2.0-edge.2
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.
- package/dist/lib/custom/AIAgentCategories/ai-agent-category-overview.panel.d.ts +1 -1
- package/dist/lib/custom/AIAgentCategories/ai-agent-category-overview.panel.js +2 -2
- package/dist/lib/custom/AIAgentCategories/ai-agent-category-overview.panel.js.map +1 -1
- package/dist/lib/custom/AIAgentSessions/ai-agent-session-form.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/add-action-dialog.component.d.ts +90 -16
- package/dist/lib/custom/AIAgents/add-action-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/add-action-dialog.component.js +218 -70
- package/dist/lib/custom/AIAgents/add-action-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/agent-form-tabs.d.ts +1 -0
- package/dist/lib/custom/AIAgents/agent-form-tabs.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/agent-form-tabs.js +2 -0
- package/dist/lib/custom/AIAgents/agent-form-tabs.js.map +1 -1
- package/dist/lib/custom/AIAgents/agent-prompt-advanced-settings-dialog.component.d.ts +80 -16
- package/dist/lib/custom/AIAgents/agent-prompt-advanced-settings-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/agent-prompt-advanced-settings-dialog.component.js +146 -46
- package/dist/lib/custom/AIAgents/agent-prompt-advanced-settings-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/ai-agent-form.component.d.ts +329 -27
- package/dist/lib/custom/AIAgents/ai-agent-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/ai-agent-form.component.js +1322 -783
- package/dist/lib/custom/AIAgents/ai-agent-form.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/ai-agent-management.service.d.ts +76 -0
- package/dist/lib/custom/AIAgents/ai-agent-management.service.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/ai-agent-management.service.js +77 -33
- package/dist/lib/custom/AIAgents/ai-agent-management.service.js.map +1 -1
- package/dist/lib/custom/AIAgents/create-prompt-dialog.component.d.ts +69 -15
- package/dist/lib/custom/AIAgents/create-prompt-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/create-prompt-dialog.component.js +182 -74
- package/dist/lib/custom/AIAgents/create-prompt-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.d.ts +105 -25
- package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.js +272 -112
- package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/new-agent-dialog.component.d.ts +32 -6
- package/dist/lib/custom/AIAgents/new-agent-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/new-agent-dialog.component.js +71 -19
- package/dist/lib/custom/AIAgents/new-agent-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/new-agent-dialog.service.d.ts +10 -0
- package/dist/lib/custom/AIAgents/new-agent-dialog.service.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/new-agent-dialog.service.js +27 -7
- package/dist/lib/custom/AIAgents/new-agent-dialog.service.js.map +1 -1
- package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.d.ts +65 -15
- package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.js +152 -52
- package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/sub-agent-advanced-settings-dialog.component.d.ts +81 -15
- package/dist/lib/custom/AIAgents/sub-agent-advanced-settings-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/sub-agent-advanced-settings-dialog.component.js +145 -45
- package/dist/lib/custom/AIAgents/sub-agent-advanced-settings-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.d.ts +71 -17
- package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.js +175 -67
- package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.d.ts +173 -27
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.js +385 -93
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.js.map +1 -1
- package/dist/lib/custom/AIPromptRuns/chat-message-viewer.component.d.ts +64 -4
- package/dist/lib/custom/AIPromptRuns/chat-message-viewer.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPromptRuns/chat-message-viewer.component.js +129 -29
- package/dist/lib/custom/AIPromptRuns/chat-message-viewer.component.js.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.d.ts +260 -27
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js +694 -252
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-management.service.d.ts +10 -0
- package/dist/lib/custom/AIPrompts/ai-prompt-management.service.d.ts.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-management.service.js +17 -9
- package/dist/lib/custom/AIPrompts/ai-prompt-management.service.js.map +1 -1
- package/dist/lib/custom/AIPrompts/pending-records.d.ts +11 -0
- package/dist/lib/custom/AIPrompts/pending-records.d.ts.map +1 -0
- package/dist/lib/custom/AIPrompts/pending-records.js +21 -0
- package/dist/lib/custom/AIPrompts/pending-records.js.map +1 -0
- package/dist/lib/custom/AIPrompts/template-selector-dialog.component.d.ts +74 -16
- package/dist/lib/custom/AIPrompts/template-selector-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPrompts/template-selector-dialog.component.js +174 -58
- package/dist/lib/custom/AIPrompts/template-selector-dialog.component.js.map +1 -1
- package/dist/lib/custom/Actions/action-execution-log-form.component.d.ts +108 -14
- package/dist/lib/custom/Actions/action-execution-log-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Actions/action-execution-log-form.component.js +258 -70
- package/dist/lib/custom/Actions/action-execution-log-form.component.js.map +1 -1
- package/dist/lib/custom/Actions/action-form.component.d.ts +198 -14
- package/dist/lib/custom/Actions/action-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Actions/action-form.component.js +387 -107
- package/dist/lib/custom/Actions/action-form.component.js.map +1 -1
- package/dist/lib/custom/BridgeProviders/bridge-provider-features.d.ts +12 -6
- package/dist/lib/custom/BridgeProviders/bridge-provider-features.d.ts.map +1 -1
- package/dist/lib/custom/BridgeProviders/bridge-provider-features.js +41 -29
- package/dist/lib/custom/BridgeProviders/bridge-provider-features.js.map +1 -1
- package/dist/lib/custom/BridgeProviders/bridge-provider-form.component.js +14 -14
- package/dist/lib/custom/BridgeProviders/bridge-provider-form.component.js.map +1 -1
- package/dist/lib/custom/Companies/company-overview.panel.d.ts +1 -1
- package/dist/lib/custom/Companies/company-overview.panel.js +2 -2
- package/dist/lib/custom/Companies/company-overview.panel.js.map +1 -1
- package/dist/lib/custom/Conversations/conversation-overview.panel.d.ts +1 -1
- package/dist/lib/custom/Conversations/conversation-overview.panel.js +2 -2
- package/dist/lib/custom/Conversations/conversation-overview.panel.js.map +1 -1
- package/dist/lib/custom/Employees/employee-overview.panel.d.ts +1 -1
- package/dist/lib/custom/Employees/employee-overview.panel.js +2 -2
- package/dist/lib/custom/Employees/employee-overview.panel.js.map +1 -1
- package/dist/lib/custom/Entities/entity-form.component.d.ts +217 -29
- package/dist/lib/custom/Entities/entity-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Entities/entity-form.component.js +734 -285
- package/dist/lib/custom/Entities/entity-form.component.js.map +1 -1
- package/dist/lib/custom/EntityActions/entityaction.form.component.d.ts +5 -1
- package/dist/lib/custom/EntityActions/entityaction.form.component.d.ts.map +1 -1
- package/dist/lib/custom/EntityActions/entityaction.form.component.js +10 -2
- package/dist/lib/custom/EntityActions/entityaction.form.component.js.map +1 -1
- package/dist/lib/custom/Files/file-form.component.d.ts +1 -1
- package/dist/lib/custom/Files/file-form.component.js +2 -2
- package/dist/lib/custom/Files/file-form.component.js.map +1 -1
- package/dist/lib/custom/Lists/list-form.component.d.ts +300 -36
- package/dist/lib/custom/Lists/list-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Lists/list-form.component.js +664 -208
- package/dist/lib/custom/Lists/list-form.component.js.map +1 -1
- package/dist/lib/custom/MLModels/ml-model-view-models.d.ts +31 -0
- package/dist/lib/custom/MLModels/ml-model-view-models.d.ts.map +1 -1
- package/dist/lib/custom/MLModels/ml-model-view-models.js +52 -16
- package/dist/lib/custom/MLModels/ml-model-view-models.js.map +1 -1
- package/dist/lib/custom/MLModels/ps-model-detail.component.d.ts +107 -10
- package/dist/lib/custom/MLModels/ps-model-detail.component.d.ts.map +1 -1
- package/dist/lib/custom/MLModels/ps-model-detail.component.js +291 -101
- package/dist/lib/custom/MLModels/ps-model-detail.component.js.map +1 -1
- package/dist/lib/custom/Queries/query-form.component.d.ts +201 -26
- package/dist/lib/custom/Queries/query-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Queries/query-form.component.js +429 -109
- package/dist/lib/custom/Queries/query-form.component.js.map +1 -1
- package/dist/lib/custom/Queries/query-run-dialog.component.d.ts +107 -14
- package/dist/lib/custom/Queries/query-run-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/Queries/query-run-dialog.component.js +249 -79
- package/dist/lib/custom/Queries/query-run-dialog.component.js.map +1 -1
- package/dist/lib/custom/RecordProcesses/record-process-form.component.d.ts +129 -4
- package/dist/lib/custom/RecordProcesses/record-process-form.component.d.ts.map +1 -1
- package/dist/lib/custom/RecordProcesses/record-process-form.component.js +904 -90
- package/dist/lib/custom/RecordProcesses/record-process-form.component.js.map +1 -1
- package/dist/lib/custom/Rubrics/evaluation-form.component.d.ts +37 -0
- package/dist/lib/custom/Rubrics/evaluation-form.component.d.ts.map +1 -0
- package/dist/lib/custom/Rubrics/evaluation-form.component.js +399 -0
- package/dist/lib/custom/Rubrics/evaluation-form.component.js.map +1 -0
- package/dist/lib/custom/Rubrics/record-forms.component.d.ts +69 -0
- package/dist/lib/custom/Rubrics/record-forms.component.d.ts.map +1 -0
- package/dist/lib/custom/Rubrics/record-forms.component.js +587 -0
- package/dist/lib/custom/Rubrics/record-forms.component.js.map +1 -0
- package/dist/lib/custom/Rubrics/rubric-form.component.d.ts +67 -0
- package/dist/lib/custom/Rubrics/rubric-form.component.d.ts.map +1 -0
- package/dist/lib/custom/Rubrics/rubric-form.component.js +534 -0
- package/dist/lib/custom/Rubrics/rubric-form.component.js.map +1 -0
- package/dist/lib/custom/Rubrics/rubric-form.panels.d.ts +25 -0
- package/dist/lib/custom/Rubrics/rubric-form.panels.d.ts.map +1 -0
- package/dist/lib/custom/Rubrics/rubric-form.panels.js +299 -0
- package/dist/lib/custom/Rubrics/rubric-form.panels.js.map +1 -0
- package/dist/lib/custom/Rubrics/scale-form.component.d.ts +31 -0
- package/dist/lib/custom/Rubrics/scale-form.component.d.ts.map +1 -0
- package/dist/lib/custom/Rubrics/scale-form.component.js +395 -0
- package/dist/lib/custom/Rubrics/scale-form.component.js.map +1 -0
- package/dist/lib/custom/SearchScopes/searchscope-form.component.d.ts +1 -1
- package/dist/lib/custom/SearchScopes/searchscope-form.component.js +4 -4
- package/dist/lib/custom/SearchScopes/searchscope-form.component.js.map +1 -1
- package/dist/lib/custom/SessionBridges/session-bridge-form.component.js.map +1 -1
- package/dist/lib/custom/Templates/template-param-dialog.component.d.ts +77 -13
- package/dist/lib/custom/Templates/template-param-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/Templates/template-param-dialog.component.js +196 -78
- package/dist/lib/custom/Templates/template-param-dialog.component.js.map +1 -1
- package/dist/lib/custom/Templates/template-params-grid.component.d.ts +49 -7
- package/dist/lib/custom/Templates/template-params-grid.component.d.ts.map +1 -1
- package/dist/lib/custom/Templates/template-params-grid.component.js +132 -44
- package/dist/lib/custom/Templates/template-params-grid.component.js.map +1 -1
- package/dist/lib/custom/Templates/templates-form.component.d.ts +153 -19
- package/dist/lib/custom/Templates/templates-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Templates/templates-form.component.js +434 -217
- package/dist/lib/custom/Templates/templates-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/entity-link-pill.component.d.ts +24 -4
- package/dist/lib/custom/Tests/entity-link-pill.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/entity-link-pill.component.js +64 -20
- package/dist/lib/custom/Tests/entity-link-pill.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-form.component.d.ts +223 -27
- package/dist/lib/custom/Tests/test-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-form.component.js +951 -530
- package/dist/lib/custom/Tests/test-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-run-checks.d.ts +2 -0
- package/dist/lib/custom/Tests/test-run-checks.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-run-checks.js +5 -1
- package/dist/lib/custom/Tests/test-run-checks.js.map +1 -1
- package/dist/lib/custom/Tests/test-run-feedback-form.component.d.ts +2 -0
- package/dist/lib/custom/Tests/test-run-feedback-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-run-feedback-form.component.js +5 -1
- package/dist/lib/custom/Tests/test-run-feedback-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-run-form.component.d.ts +146 -18
- package/dist/lib/custom/Tests/test-run-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-run-form.component.js +362 -106
- package/dist/lib/custom/Tests/test-run-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-suite-form.component.d.ts +395 -47
- package/dist/lib/custom/Tests/test-suite-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-suite-form.component.js +1719 -1007
- package/dist/lib/custom/Tests/test-suite-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-suite-run-form.component.d.ts +214 -26
- package/dist/lib/custom/Tests/test-suite-run-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-suite-run-form.component.js +535 -159
- package/dist/lib/custom/Tests/test-suite-run-form.component.js.map +1 -1
- package/dist/lib/custom/Users/user-overview.panel.d.ts +1 -1
- package/dist/lib/custom/Users/user-overview.panel.js +3 -3
- package/dist/lib/custom/Users/user-overview.panel.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.d.ts +208 -29
- package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.js +446 -138
- package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-cost.service.d.ts +6 -0
- package/dist/lib/custom/ai-agent-run/ai-agent-run-cost.service.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-cost.service.js +16 -4
- package/dist/lib/custom/ai-agent-run/ai-agent-run-cost.service.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-data.service.d.ts +50 -6
- package/dist/lib/custom/ai-agent-run/ai-agent-run-data.service.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-data.service.js +84 -12
- package/dist/lib/custom/ai-agent-run/ai-agent-run-data.service.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.d.ts +89 -5
- package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.js +216 -70
- package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.d.ts +62 -3
- package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.js +140 -42
- package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.d.ts +81 -10
- package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.js +165 -37
- package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.d.ts +140 -15
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js +326 -100
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.component.d.ts +101 -15
- package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.component.js +281 -97
- package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.model.d.ts +43 -25
- package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.model.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.model.js +100 -64
- package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.model.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/flow/constellation.component.d.ts +14 -2
- package/dist/lib/custom/ai-agent-run/flow/constellation.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/flow/constellation.component.js +71 -53
- package/dist/lib/custom/ai-agent-run/flow/constellation.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/flow/flame-cascade.component.d.ts +14 -2
- package/dist/lib/custom/ai-agent-run/flow/flame-cascade.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/flow/flame-cascade.component.js +70 -52
- package/dist/lib/custom/ai-agent-run/flow/flame-cascade.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/flow/flow-svg.util.d.ts +8 -0
- package/dist/lib/custom/ai-agent-run/flow/flow-svg.util.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/flow/flow-svg.util.js +22 -6
- package/dist/lib/custom/ai-agent-run/flow/flow-svg.util.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/flow/flowchart.component.d.ts +24 -2
- package/dist/lib/custom/ai-agent-run/flow/flowchart.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/flow/flowchart.component.js +91 -59
- package/dist/lib/custom/ai-agent-run/flow/flowchart.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/flow/pan-zoom.d.ts +10 -2
- package/dist/lib/custom/ai-agent-run/flow/pan-zoom.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/flow/pan-zoom.js +33 -17
- package/dist/lib/custom/ai-agent-run/flow/pan-zoom.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/flow/run-tree-flow-projection.d.ts +2 -0
- package/dist/lib/custom/ai-agent-run/flow/run-tree-flow-projection.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/flow/run-tree-flow-projection.js +34 -30
- package/dist/lib/custom/ai-agent-run/flow/run-tree-flow-projection.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/flow/subway-lines.component.d.ts +14 -2
- package/dist/lib/custom/ai-agent-run/flow/subway-lines.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/flow/subway-lines.component.js +69 -51
- package/dist/lib/custom/ai-agent-run/flow/subway-lines.component.js.map +1 -1
- package/dist/lib/custom/custom-forms.module.d.ts +56 -48
- package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
- package/dist/lib/custom/custom-forms.module.js +60 -0
- package/dist/lib/custom/custom-forms.module.js.map +1 -1
- package/dist/lib/custom/shared/entity-selector-dialog.component.d.ts +38 -12
- package/dist/lib/custom/shared/entity-selector-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/shared/entity-selector-dialog.component.js +103 -51
- package/dist/lib/custom/shared/entity-selector-dialog.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js +61 -43
- package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgentRubric/mjaiagentrubric.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJAIAgentRubric/mjaiagentrubric.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJAIAgentRubric/mjaiagentrubric.form.component.js +74 -0
- package/dist/lib/generated/Entities/MJAIAgentRubric/mjaiagentrubric.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.js +37 -19
- package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js +78 -52
- package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIVendor/mjaivendor.form.component.js +76 -74
- package/dist/lib/generated/Entities/MJAIVendor/mjaivendor.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js +156 -84
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJFeaturePipelineType/mjfeaturepipelinetype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJFeaturePipelineType/mjfeaturepipelinetype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJFeaturePipelineType/mjfeaturepipelinetype.form.component.js +62 -0
- package/dist/lib/generated/Entities/MJFeaturePipelineType/mjfeaturepipelinetype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJProcessRun/mjprocessrun.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJProcessRun/mjprocessrun.form.component.js +24 -6
- package/dist/lib/generated/Entities/MJProcessRun/mjprocessrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJProject/mjproject.form.component.js +27 -25
- package/dist/lib/generated/Entities/MJProject/mjproject.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.js +24 -16
- package/dist/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJRecordCloneLog/mjrecordclonelog.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRecordCloneLog/mjrecordclonelog.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRecordCloneLog/mjrecordclonelog.form.component.js +107 -0
- package/dist/lib/generated/Entities/MJRecordCloneLog/mjrecordclonelog.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRecordCloneLogItem/mjrecordclonelogitem.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRecordCloneLogItem/mjrecordclonelogitem.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRecordCloneLogItem/mjrecordclonelogitem.form.component.js +74 -0
- package/dist/lib/generated/Entities/MJRecordCloneLogItem/mjrecordclonelogitem.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubric/mjrubric.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubric/mjrubric.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubric/mjrubric.form.component.js +135 -0
- package/dist/lib/generated/Entities/MJRubric/mjrubric.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubricBand/mjrubricband.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubricBand/mjrubricband.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubricBand/mjrubricband.form.component.js +87 -0
- package/dist/lib/generated/Entities/MJRubricBand/mjrubricband.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubricCategory/mjrubriccategory.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubricCategory/mjrubriccategory.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubricCategory/mjrubriccategory.form.component.js +107 -0
- package/dist/lib/generated/Entities/MJRubricCategory/mjrubriccategory.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubricCriterion/mjrubriccriterion.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubricCriterion/mjrubriccriterion.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubricCriterion/mjrubriccriterion.form.component.js +155 -0
- package/dist/lib/generated/Entities/MJRubricCriterion/mjrubriccriterion.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubricCriterionLevel/mjrubriccriterionlevel.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubricCriterionLevel/mjrubriccriterionlevel.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubricCriterionLevel/mjrubriccriterionlevel.form.component.js +62 -0
- package/dist/lib/generated/Entities/MJRubricCriterionLevel/mjrubriccriterionlevel.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubricEvaluation/mjrubricevaluation.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubricEvaluation/mjrubricevaluation.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubricEvaluation/mjrubricevaluation.form.component.js +183 -0
- package/dist/lib/generated/Entities/MJRubricEvaluation/mjrubricevaluation.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubricEvaluationScore/mjrubricevaluationscore.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubricEvaluationScore/mjrubricevaluationscore.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubricEvaluationScore/mjrubricevaluationscore.form.component.js +120 -0
- package/dist/lib/generated/Entities/MJRubricEvaluationScore/mjrubricevaluationscore.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubricScale/mjrubricscale.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubricScale/mjrubricscale.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubricScale/mjrubricscale.form.component.js +107 -0
- package/dist/lib/generated/Entities/MJRubricScale/mjrubricscale.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubricScaleLevel/mjrubricscalelevel.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubricScaleLevel/mjrubricscalelevel.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubricScaleLevel/mjrubricscalelevel.form.component.js +103 -0
- package/dist/lib/generated/Entities/MJRubricScaleLevel/mjrubricscalelevel.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubricVersion/mjrubricversion.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubricVersion/mjrubricversion.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubricVersion/mjrubricversion.form.component.js +171 -0
- package/dist/lib/generated/Entities/MJRubricVersion/mjrubricversion.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJTest/mjtest.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJTest/mjtest.form.component.js +24 -16
- package/dist/lib/generated/Entities/MJTest/mjtest.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJTestSuite/mjtestsuite.form.component.js +27 -25
- package/dist/lib/generated/Entities/MJTestSuite/mjtestsuite.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJTestSuiteRun/mjtestsuiterun.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJTestSuiteRun/mjtestsuiterun.form.component.js +19 -11
- package/dist/lib/generated/Entities/MJTestSuiteRun/mjtestsuiterun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js +209 -119
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js.map +1 -1
- package/dist/lib/generated/generated-forms.module.d.ts +436 -422
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +44 -2
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/dist/lib/panels/ai-skill-sharing/ai-skill-sharing-panel.component.d.ts +5 -1
- package/dist/lib/panels/ai-skill-sharing/ai-skill-sharing-panel.component.d.ts.map +1 -1
- package/dist/lib/panels/ai-skill-sharing/ai-skill-sharing-panel.component.js +11 -3
- package/dist/lib/panels/ai-skill-sharing/ai-skill-sharing-panel.component.js.map +1 -1
- package/dist/lib/panels/content-sources/tag-pipeline-configuration.panel.d.ts +2 -0
- package/dist/lib/panels/content-sources/tag-pipeline-configuration.panel.d.ts.map +1 -1
- package/dist/lib/panels/content-sources/tag-pipeline-configuration.panel.js +16 -12
- package/dist/lib/panels/content-sources/tag-pipeline-configuration.panel.js.map +1 -1
- package/dist/lib/panels/content-sources/website-crawler-settings.panel.d.ts +1 -1
- package/dist/lib/panels/content-sources/website-crawler-settings.panel.js +2 -2
- package/dist/lib/panels/content-sources/website-crawler-settings.panel.js.map +1 -1
- package/dist/lib/panels/model-predictions/model-prediction.logic.d.ts +45 -19
- package/dist/lib/panels/model-predictions/model-prediction.logic.d.ts.map +1 -1
- package/dist/lib/panels/model-predictions/model-prediction.logic.js +95 -43
- package/dist/lib/panels/model-predictions/model-prediction.logic.js.map +1 -1
- package/dist/lib/panels/model-predictions/model-prediction.panel.d.ts +20 -16
- package/dist/lib/panels/model-predictions/model-prediction.panel.d.ts.map +1 -1
- package/dist/lib/panels/model-predictions/model-prediction.panel.js +73 -65
- package/dist/lib/panels/model-predictions/model-prediction.panel.js.map +1 -1
- package/dist/lib/panels/record-clone/entity-clone-config-editor.component.d.ts +116 -0
- package/dist/lib/panels/record-clone/entity-clone-config-editor.component.d.ts.map +1 -0
- package/dist/lib/panels/record-clone/entity-clone-config-editor.component.js +820 -0
- package/dist/lib/panels/record-clone/entity-clone-config-editor.component.js.map +1 -0
- package/dist/lib/shared/components/template-editor.component.d.ts +158 -15
- package/dist/lib/shared/components/template-editor.component.d.ts.map +1 -1
- package/dist/lib/shared/components/template-editor.component.js +389 -127
- package/dist/lib/shared/components/template-editor.component.js.map +1 -1
- package/dist/public-api.d.ts +5 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +5 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +47 -42
|
@@ -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.
|
|
460
|
-
this.
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
this.
|
|
469
|
-
this.
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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.
|
|
530
|
-
this.
|
|
657
|
+
this.IsRunning = true;
|
|
658
|
+
this.RunResult = null;
|
|
531
659
|
try {
|
|
532
660
|
// Build parameters object
|
|
533
661
|
const queryParameters = {};
|
|
534
|
-
this.
|
|
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.
|
|
575
|
-
variables.MaxRows = this.
|
|
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.
|
|
579
|
-
variables.StartRow = this.
|
|
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.
|
|
585
|
-
if (this.
|
|
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.
|
|
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.
|
|
593
|
-
? `Query executed successfully. Showing ${this.
|
|
594
|
-
: `Query executed successfully. ${this.
|
|
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.
|
|
599
|
-
this.
|
|
600
|
-
this.
|
|
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.
|
|
609
|
-
MJNotificationService.Instance.CreateSimpleNotification(this.
|
|
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.
|
|
612
|
-
this.
|
|
613
|
-
this.
|
|
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.
|
|
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.
|
|
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.
|
|
642
|
-
this.
|
|
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.
|
|
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.
|
|
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
|
-
|
|
671
|
-
if (!this.
|
|
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.
|
|
677
|
-
const rows = this.
|
|
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
|
-
|
|
699
|
-
|
|
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.
|
|
706
|
-
const rows = this.
|
|
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.
|
|
718
|
-
this.
|
|
719
|
-
this.
|
|
857
|
+
this.IsVisible = false;
|
|
858
|
+
this.IsVisibleChange.emit(false);
|
|
859
|
+
this.OnClose.emit();
|
|
720
860
|
// Reset state
|
|
721
|
-
this.
|
|
722
|
-
this.
|
|
723
|
-
this.
|
|
724
|
-
this.
|
|
725
|
-
this.
|
|
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.
|
|
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.
|
|
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.
|
|
736
|
-
|
|
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
|
-
|
|
740
|
-
|
|
741
|
-
|
|
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
|
-
|
|
746
|
-
|
|
747
|
-
|
|
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
|
-
|
|
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
|
}] }); })();
|