@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.
- package/README.md +22 -0
- 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-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 +794 -262
- 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 +686 -238
- 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/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 +209 -28
- package/dist/lib/custom/Entities/entity-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Entities/entity-form.component.js +494 -138
- 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-form.component.d.ts +27 -0
- package/dist/lib/custom/MLModels/ml-model-form.component.d.ts.map +1 -0
- package/dist/lib/custom/MLModels/ml-model-form.component.js +193 -0
- package/dist/lib/custom/MLModels/ml-model-form.component.js.map +1 -0
- package/dist/lib/custom/MLModels/ml-model-view-models.d.ts +75 -0
- package/dist/lib/custom/MLModels/ml-model-view-models.d.ts.map +1 -0
- package/dist/lib/custom/MLModels/ml-model-view-models.js +244 -0
- package/dist/lib/custom/MLModels/ml-model-view-models.js.map +1 -0
- package/dist/lib/custom/MLModels/ps-model-detail.component.d.ts +173 -0
- package/dist/lib/custom/MLModels/ps-model-detail.component.d.ts.map +1 -0
- package/dist/lib/custom/MLModels/ps-model-detail.component.js +883 -0
- package/dist/lib/custom/MLModels/ps-model-detail.component.js.map +1 -0
- 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 +133 -7
- package/dist/lib/custom/RecordProcesses/record-process-form.component.d.ts.map +1 -1
- package/dist/lib/custom/RecordProcesses/record-process-form.component.js +1268 -19
- package/dist/lib/custom/RecordProcesses/record-process-form.component.js.map +1 -1
- 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 +142 -17
- package/dist/lib/custom/Templates/templates-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Templates/templates-form.component.js +333 -113
- 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 +217 -27
- package/dist/lib/custom/Tests/test-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-form.component.js +549 -169
- 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 +390 -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 +1015 -343
- 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 +2 -2
- 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 +121 -14
- 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 +287 -79
- 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 +32 -30
- package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
- package/dist/lib/custom/custom-forms.module.js +21 -4
- 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/MJAIPrompt/mjaiprompt.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJAIPrompt/mjaiprompt.form.component.js +62 -26
- package/dist/lib/generated/Entities/MJAIPrompt/mjaiprompt.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 +59 -51
- 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/MJCredential/mjcredential.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJCredential/mjcredential.form.component.js +33 -15
- package/dist/lib/generated/Entities/MJCredential/mjcredential.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 +100 -82
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJEntityField/mjentityfield.form.component.js +24 -20
- package/dist/lib/generated/Entities/MJEntityField/mjentityfield.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJFeatureValue/mjfeaturevalue.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJFeatureValue/mjfeaturevalue.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJFeatureValue/mjfeaturevalue.form.component.js +122 -0
- package/dist/lib/generated/Entities/MJFeatureValue/mjfeaturevalue.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJFeatureValueCache/mjfeaturevaluecache.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJFeatureValueCache/mjfeaturevaluecache.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJFeatureValueCache/mjfeaturevaluecache.form.component.js +125 -0
- package/dist/lib/generated/Entities/MJFeatureValueCache/mjfeaturevaluecache.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 +23 -5
- package/dist/lib/generated/Entities/MJProcessRun/mjprocessrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJProcessRunDetail/mjprocessrundetail.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJProcessRunDetail/mjprocessrundetail.form.component.js +25 -6
- package/dist/lib/generated/Entities/MJProcessRunDetail/mjprocessrundetail.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/MJQuery/mjquery.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJQuery/mjquery.form.component.js +11 -15
- package/dist/lib/generated/Entities/MJQuery/mjquery.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJRecordProcess/mjrecordprocess.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJRecordProcess/mjrecordprocess.form.component.js +43 -7
- package/dist/lib/generated/Entities/MJRecordProcess/mjrecordprocess.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 +155 -119
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJWebSearchProvider/mjwebsearchprovider.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJWebSearchProvider/mjwebsearchprovider.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJWebSearchProvider/mjwebsearchprovider.form.component.js +78 -0
- package/dist/lib/generated/Entities/MJWebSearchProvider/mjwebsearchprovider.form.component.js.map +1 -0
- package/dist/lib/generated/generated-forms.module.d.ts +240 -237
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +11 -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 +122 -1
- package/dist/lib/panels/model-predictions/model-prediction.logic.d.ts.map +1 -1
- package/dist/lib/panels/model-predictions/model-prediction.logic.js +236 -11
- package/dist/lib/panels/model-predictions/model-prediction.logic.js.map +1 -1
- package/dist/lib/panels/model-predictions/model-prediction.panel.d.ts +72 -13
- package/dist/lib/panels/model-predictions/model-prediction.panel.d.ts.map +1 -1
- package/dist/lib/panels/model-predictions/model-prediction.panel.js +577 -78
- package/dist/lib/panels/model-predictions/model-prediction.panel.js.map +1 -1
- package/dist/lib/shared/components/template-editor.component.d.ts +133 -14
- package/dist/lib/shared/components/template-editor.component.d.ts.map +1 -1
- package/dist/lib/shared/components/template-editor.component.js +322 -124
- package/dist/lib/shared/components/template-editor.component.js.map +1 -1
- package/dist/public-api.d.ts +4 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +4 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +43 -41
|
@@ -1923,24 +1923,24 @@ function MJAIPromptRunFormComponentExtended_Conditional_1_Template(rf, ctx) { if
|
|
|
1923
1923
|
let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtended extends MJAIPromptRunFormComponent {
|
|
1924
1924
|
constructor() {
|
|
1925
1925
|
super(...arguments);
|
|
1926
|
-
this.
|
|
1926
|
+
this.ToolbarConfig = CUSTOM_LAYOUT_TOOLBAR_CONFIG;
|
|
1927
1927
|
// Related entities
|
|
1928
|
-
this.
|
|
1928
|
+
this.Prompt = null;
|
|
1929
1929
|
this.model = null;
|
|
1930
|
-
this.
|
|
1931
|
-
this.
|
|
1930
|
+
this.ParentRun = null;
|
|
1931
|
+
this.ChildRuns = [];
|
|
1932
1932
|
// UI state
|
|
1933
|
-
this.
|
|
1934
|
-
this.
|
|
1935
|
-
this.
|
|
1936
|
-
this.
|
|
1937
|
-
this.
|
|
1938
|
-
this.
|
|
1939
|
-
this.
|
|
1940
|
-
this.
|
|
1941
|
-
this.
|
|
1942
|
-
this.
|
|
1943
|
-
this.
|
|
1933
|
+
this.IsLoadingRelatedData = false;
|
|
1934
|
+
this.IsParsingMessages = false;
|
|
1935
|
+
this.InputExpanded = true;
|
|
1936
|
+
this.MessagesExpanded = true;
|
|
1937
|
+
this.DataExpanded = false;
|
|
1938
|
+
this.RawExpanded = false;
|
|
1939
|
+
this.ResultExpanded = false;
|
|
1940
|
+
this.MetricsExpanded = false;
|
|
1941
|
+
this.HierarchyExpanded = false;
|
|
1942
|
+
this.ValidationExpanded = false;
|
|
1943
|
+
this.ModelSpecificExpanded = false;
|
|
1944
1944
|
// Track what has been loaded
|
|
1945
1945
|
this.hasLoadedInput = false;
|
|
1946
1946
|
this.hasLoadedResult = false;
|
|
@@ -1948,20 +1948,20 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
1948
1948
|
this.hasLoadedMetrics = false;
|
|
1949
1949
|
this.hasLoadedModelSpecific = false;
|
|
1950
1950
|
// Formatted values
|
|
1951
|
-
this.
|
|
1952
|
-
this.
|
|
1953
|
-
this.
|
|
1954
|
-
this.
|
|
1955
|
-
this.
|
|
1956
|
-
this.
|
|
1957
|
-
this.
|
|
1958
|
-
this.
|
|
1951
|
+
this.FormattedMessages = '';
|
|
1952
|
+
this.FormattedResult = '';
|
|
1953
|
+
this.FormattedValidationSummary = '';
|
|
1954
|
+
this.FormattedValidationAttempts = '';
|
|
1955
|
+
this.FormattedData = '';
|
|
1956
|
+
this.FormattedModelSelection = '';
|
|
1957
|
+
this.FormattedErrorDetails = '';
|
|
1958
|
+
this.FormattedModelSpecificResponseDetails = '';
|
|
1959
1959
|
// Parsed input data
|
|
1960
|
-
this.
|
|
1961
|
-
this.
|
|
1960
|
+
this.ChatMessages = [];
|
|
1961
|
+
this.InputData = null;
|
|
1962
1962
|
// Validation data
|
|
1963
|
-
this.
|
|
1964
|
-
this.
|
|
1963
|
+
this.ValidationAttempts = [];
|
|
1964
|
+
this.ValidationSummary = null;
|
|
1965
1965
|
// Full-screen overlay state
|
|
1966
1966
|
this.FullScreenContent = null;
|
|
1967
1967
|
this.FullScreenLanguage = 'json';
|
|
@@ -1970,14 +1970,226 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
1970
1970
|
this.testHarnessWindowService = inject(TestHarnessWindowManagerService);
|
|
1971
1971
|
this.viewContainerRef = inject(ViewContainerRef);
|
|
1972
1972
|
}
|
|
1973
|
+
/** @deprecated Use {@link ToolbarConfig}. */
|
|
1974
|
+
get toolbarConfig() {
|
|
1975
|
+
return this.ToolbarConfig;
|
|
1976
|
+
}
|
|
1973
1977
|
/** Custom-layout AI Prompt Run form looks best full-width on first open. */
|
|
1974
1978
|
getDefaultFormWidthMode() { return 'full-width'; }
|
|
1979
|
+
/** @deprecated Use {@link Prompt}. */
|
|
1980
|
+
get prompt() {
|
|
1981
|
+
return this.Prompt;
|
|
1982
|
+
}
|
|
1983
|
+
/** @deprecated Use {@link Prompt}. */
|
|
1984
|
+
set prompt(value) {
|
|
1985
|
+
this.Prompt = value;
|
|
1986
|
+
}
|
|
1987
|
+
/** @deprecated Use {@link ParentRun}. */
|
|
1988
|
+
get parentRun() {
|
|
1989
|
+
return this.ParentRun;
|
|
1990
|
+
}
|
|
1991
|
+
/** @deprecated Use {@link ParentRun}. */
|
|
1992
|
+
set parentRun(value) {
|
|
1993
|
+
this.ParentRun = value;
|
|
1994
|
+
}
|
|
1995
|
+
/** @deprecated Use {@link ChildRuns}. */
|
|
1996
|
+
get childRuns() {
|
|
1997
|
+
return this.ChildRuns;
|
|
1998
|
+
}
|
|
1999
|
+
/** @deprecated Use {@link ChildRuns}. */
|
|
2000
|
+
set childRuns(value) {
|
|
2001
|
+
this.ChildRuns = value;
|
|
2002
|
+
}
|
|
2003
|
+
/** @deprecated Use {@link IsLoadingRelatedData}. */
|
|
2004
|
+
get isLoadingRelatedData() {
|
|
2005
|
+
return this.IsLoadingRelatedData;
|
|
2006
|
+
}
|
|
2007
|
+
/** @deprecated Use {@link IsLoadingRelatedData}. */
|
|
2008
|
+
set isLoadingRelatedData(value) {
|
|
2009
|
+
this.IsLoadingRelatedData = value;
|
|
2010
|
+
}
|
|
2011
|
+
/** @deprecated Use {@link IsParsingMessages}. */
|
|
2012
|
+
get isParsingMessages() {
|
|
2013
|
+
return this.IsParsingMessages;
|
|
2014
|
+
}
|
|
2015
|
+
/** @deprecated Use {@link IsParsingMessages}. */
|
|
2016
|
+
set isParsingMessages(value) {
|
|
2017
|
+
this.IsParsingMessages = value;
|
|
2018
|
+
} // Will be set to true in ngOnInit if there are messages
|
|
2019
|
+
/** @deprecated Use {@link InputExpanded}. */
|
|
2020
|
+
get inputExpanded() {
|
|
2021
|
+
return this.InputExpanded;
|
|
2022
|
+
}
|
|
2023
|
+
/** @deprecated Use {@link InputExpanded}. */
|
|
2024
|
+
set inputExpanded(value) {
|
|
2025
|
+
this.InputExpanded = value;
|
|
2026
|
+
} // Start open as users want to see this
|
|
2027
|
+
/** @deprecated Use {@link MessagesExpanded}. */
|
|
2028
|
+
get messagesExpanded() {
|
|
2029
|
+
return this.MessagesExpanded;
|
|
2030
|
+
}
|
|
2031
|
+
/** @deprecated Use {@link MessagesExpanded}. */
|
|
2032
|
+
set messagesExpanded(value) {
|
|
2033
|
+
this.MessagesExpanded = value;
|
|
2034
|
+
}
|
|
2035
|
+
/** @deprecated Use {@link DataExpanded}. */
|
|
2036
|
+
get dataExpanded() {
|
|
2037
|
+
return this.DataExpanded;
|
|
2038
|
+
}
|
|
2039
|
+
/** @deprecated Use {@link DataExpanded}. */
|
|
2040
|
+
set dataExpanded(value) {
|
|
2041
|
+
this.DataExpanded = value;
|
|
2042
|
+
} // Changed to false - often blank
|
|
2043
|
+
/** @deprecated Use {@link RawExpanded}. */
|
|
2044
|
+
get rawExpanded() {
|
|
2045
|
+
return this.RawExpanded;
|
|
2046
|
+
}
|
|
2047
|
+
/** @deprecated Use {@link RawExpanded}. */
|
|
2048
|
+
set rawExpanded(value) {
|
|
2049
|
+
this.RawExpanded = value;
|
|
2050
|
+
}
|
|
2051
|
+
/** @deprecated Use {@link ResultExpanded}. */
|
|
2052
|
+
get resultExpanded() {
|
|
2053
|
+
return this.ResultExpanded;
|
|
2054
|
+
}
|
|
2055
|
+
/** @deprecated Use {@link ResultExpanded}. */
|
|
2056
|
+
set resultExpanded(value) {
|
|
2057
|
+
this.ResultExpanded = value;
|
|
2058
|
+
} // Start closed for lazy loading
|
|
2059
|
+
/** @deprecated Use {@link MetricsExpanded}. */
|
|
2060
|
+
get metricsExpanded() {
|
|
2061
|
+
return this.MetricsExpanded;
|
|
2062
|
+
}
|
|
2063
|
+
/** @deprecated Use {@link MetricsExpanded}. */
|
|
2064
|
+
set metricsExpanded(value) {
|
|
2065
|
+
this.MetricsExpanded = value;
|
|
2066
|
+
}
|
|
2067
|
+
/** @deprecated Use {@link HierarchyExpanded}. */
|
|
2068
|
+
get hierarchyExpanded() {
|
|
2069
|
+
return this.HierarchyExpanded;
|
|
2070
|
+
}
|
|
2071
|
+
/** @deprecated Use {@link HierarchyExpanded}. */
|
|
2072
|
+
set hierarchyExpanded(value) {
|
|
2073
|
+
this.HierarchyExpanded = value;
|
|
2074
|
+
}
|
|
2075
|
+
/** @deprecated Use {@link ValidationExpanded}. */
|
|
2076
|
+
get validationExpanded() {
|
|
2077
|
+
return this.ValidationExpanded;
|
|
2078
|
+
}
|
|
2079
|
+
/** @deprecated Use {@link ValidationExpanded}. */
|
|
2080
|
+
set validationExpanded(value) {
|
|
2081
|
+
this.ValidationExpanded = value;
|
|
2082
|
+
} // Start closed for lazy loading
|
|
2083
|
+
/** @deprecated Use {@link ModelSpecificExpanded}. */
|
|
2084
|
+
get modelSpecificExpanded() {
|
|
2085
|
+
return this.ModelSpecificExpanded;
|
|
2086
|
+
}
|
|
2087
|
+
/** @deprecated Use {@link ModelSpecificExpanded}. */
|
|
2088
|
+
set modelSpecificExpanded(value) {
|
|
2089
|
+
this.ModelSpecificExpanded = value;
|
|
2090
|
+
} // Start closed for lazy loading
|
|
2091
|
+
/** @deprecated Use {@link FormattedMessages}. */
|
|
2092
|
+
get formattedMessages() {
|
|
2093
|
+
return this.FormattedMessages;
|
|
2094
|
+
}
|
|
2095
|
+
/** @deprecated Use {@link FormattedMessages}. */
|
|
2096
|
+
set formattedMessages(value) {
|
|
2097
|
+
this.FormattedMessages = value;
|
|
2098
|
+
}
|
|
2099
|
+
/** @deprecated Use {@link FormattedResult}. */
|
|
2100
|
+
get formattedResult() {
|
|
2101
|
+
return this.FormattedResult;
|
|
2102
|
+
}
|
|
2103
|
+
/** @deprecated Use {@link FormattedResult}. */
|
|
2104
|
+
set formattedResult(value) {
|
|
2105
|
+
this.FormattedResult = value;
|
|
2106
|
+
}
|
|
2107
|
+
/** @deprecated Use {@link FormattedValidationSummary}. */
|
|
2108
|
+
get formattedValidationSummary() {
|
|
2109
|
+
return this.FormattedValidationSummary;
|
|
2110
|
+
}
|
|
2111
|
+
/** @deprecated Use {@link FormattedValidationSummary}. */
|
|
2112
|
+
set formattedValidationSummary(value) {
|
|
2113
|
+
this.FormattedValidationSummary = value;
|
|
2114
|
+
}
|
|
2115
|
+
/** @deprecated Use {@link FormattedValidationAttempts}. */
|
|
2116
|
+
get formattedValidationAttempts() {
|
|
2117
|
+
return this.FormattedValidationAttempts;
|
|
2118
|
+
}
|
|
2119
|
+
/** @deprecated Use {@link FormattedValidationAttempts}. */
|
|
2120
|
+
set formattedValidationAttempts(value) {
|
|
2121
|
+
this.FormattedValidationAttempts = value;
|
|
2122
|
+
}
|
|
2123
|
+
/** @deprecated Use {@link FormattedData}. */
|
|
2124
|
+
get formattedData() {
|
|
2125
|
+
return this.FormattedData;
|
|
2126
|
+
}
|
|
2127
|
+
/** @deprecated Use {@link FormattedData}. */
|
|
2128
|
+
set formattedData(value) {
|
|
2129
|
+
this.FormattedData = value;
|
|
2130
|
+
}
|
|
2131
|
+
/** @deprecated Use {@link FormattedModelSelection}. */
|
|
2132
|
+
get formattedModelSelection() {
|
|
2133
|
+
return this.FormattedModelSelection;
|
|
2134
|
+
}
|
|
2135
|
+
/** @deprecated Use {@link FormattedModelSelection}. */
|
|
2136
|
+
set formattedModelSelection(value) {
|
|
2137
|
+
this.FormattedModelSelection = value;
|
|
2138
|
+
}
|
|
2139
|
+
/** @deprecated Use {@link FormattedErrorDetails}. */
|
|
2140
|
+
get formattedErrorDetails() {
|
|
2141
|
+
return this.FormattedErrorDetails;
|
|
2142
|
+
}
|
|
2143
|
+
/** @deprecated Use {@link FormattedErrorDetails}. */
|
|
2144
|
+
set formattedErrorDetails(value) {
|
|
2145
|
+
this.FormattedErrorDetails = value;
|
|
2146
|
+
}
|
|
2147
|
+
/** @deprecated Use {@link FormattedModelSpecificResponseDetails}. */
|
|
2148
|
+
get formattedModelSpecificResponseDetails() {
|
|
2149
|
+
return this.FormattedModelSpecificResponseDetails;
|
|
2150
|
+
}
|
|
2151
|
+
/** @deprecated Use {@link FormattedModelSpecificResponseDetails}. */
|
|
2152
|
+
set formattedModelSpecificResponseDetails(value) {
|
|
2153
|
+
this.FormattedModelSpecificResponseDetails = value;
|
|
2154
|
+
}
|
|
2155
|
+
/** @deprecated Use {@link ChatMessages}. */
|
|
2156
|
+
get chatMessages() {
|
|
2157
|
+
return this.ChatMessages;
|
|
2158
|
+
}
|
|
2159
|
+
/** @deprecated Use {@link ChatMessages}. */
|
|
2160
|
+
set chatMessages(value) {
|
|
2161
|
+
this.ChatMessages = value;
|
|
2162
|
+
}
|
|
2163
|
+
/** @deprecated Use {@link InputData}. */
|
|
2164
|
+
get inputData() {
|
|
2165
|
+
return this.InputData;
|
|
2166
|
+
}
|
|
2167
|
+
/** @deprecated Use {@link InputData}. */
|
|
2168
|
+
set inputData(value) {
|
|
2169
|
+
this.InputData = value;
|
|
2170
|
+
}
|
|
2171
|
+
/** @deprecated Use {@link ValidationAttempts}. */
|
|
2172
|
+
get validationAttempts() {
|
|
2173
|
+
return this.ValidationAttempts;
|
|
2174
|
+
}
|
|
2175
|
+
/** @deprecated Use {@link ValidationAttempts}. */
|
|
2176
|
+
set validationAttempts(value) {
|
|
2177
|
+
this.ValidationAttempts = value;
|
|
2178
|
+
}
|
|
2179
|
+
/** @deprecated Use {@link ValidationSummary}. */
|
|
2180
|
+
get validationSummary() {
|
|
2181
|
+
return this.ValidationSummary;
|
|
2182
|
+
}
|
|
2183
|
+
/** @deprecated Use {@link ValidationSummary}. */
|
|
2184
|
+
set validationSummary(value) {
|
|
2185
|
+
this.ValidationSummary = value;
|
|
2186
|
+
}
|
|
1975
2187
|
async ngOnInit() {
|
|
1976
2188
|
await super.ngOnInit();
|
|
1977
2189
|
if (this.record?.ID) {
|
|
1978
2190
|
// Set loading state immediately if input panel will be loaded and has messages
|
|
1979
|
-
if (this.
|
|
1980
|
-
this.
|
|
2191
|
+
if (this.InputExpanded && this.record.Messages && this.record.Messages.trim() !== '') {
|
|
2192
|
+
this.IsParsingMessages = true;
|
|
1981
2193
|
this.cdr.detectChanges(); // Force immediate update to show spinner
|
|
1982
2194
|
}
|
|
1983
2195
|
// Load related entities
|
|
@@ -1991,7 +2203,7 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
1991
2203
|
this.hasLoadedValidation = true;
|
|
1992
2204
|
this.hasLoadedMetrics = true;
|
|
1993
2205
|
this.hasLoadedModelSpecific = true;
|
|
1994
|
-
this.
|
|
2206
|
+
this.IsParsingMessages = false;
|
|
1995
2207
|
this.cdr.detectChanges();
|
|
1996
2208
|
}
|
|
1997
2209
|
}
|
|
@@ -2006,44 +2218,68 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2006
2218
|
// Currently no subscriptions or timers to clean up
|
|
2007
2219
|
// This is here for future use and to complete the lifecycle
|
|
2008
2220
|
}
|
|
2221
|
+
OnInputPanelToggle(event) {
|
|
2222
|
+
const expanded = event;
|
|
2223
|
+
this.InputExpanded = expanded;
|
|
2224
|
+
// Data is already formatted on init, no need to do anything
|
|
2225
|
+
}
|
|
2226
|
+
/** @deprecated Use {@link OnInputPanelToggle}. */
|
|
2009
2227
|
onInputPanelToggle(event) {
|
|
2228
|
+
return this.OnInputPanelToggle(event);
|
|
2229
|
+
}
|
|
2230
|
+
OnResultPanelToggle(event) {
|
|
2010
2231
|
const expanded = event;
|
|
2011
|
-
this.
|
|
2232
|
+
this.ResultExpanded = expanded;
|
|
2012
2233
|
// Data is already formatted on init, no need to do anything
|
|
2013
2234
|
}
|
|
2235
|
+
/** @deprecated Use {@link OnResultPanelToggle}. */
|
|
2014
2236
|
onResultPanelToggle(event) {
|
|
2237
|
+
return this.OnResultPanelToggle(event);
|
|
2238
|
+
}
|
|
2239
|
+
OnValidationPanelToggle(event) {
|
|
2015
2240
|
const expanded = event;
|
|
2016
|
-
this.
|
|
2241
|
+
this.ValidationExpanded = expanded;
|
|
2017
2242
|
// Data is already formatted on init, no need to do anything
|
|
2018
2243
|
}
|
|
2244
|
+
/** @deprecated Use {@link OnValidationPanelToggle}. */
|
|
2019
2245
|
onValidationPanelToggle(event) {
|
|
2246
|
+
return this.OnValidationPanelToggle(event);
|
|
2247
|
+
}
|
|
2248
|
+
OnMetricsPanelToggle(event) {
|
|
2020
2249
|
const expanded = event;
|
|
2021
|
-
this.
|
|
2250
|
+
this.MetricsExpanded = expanded;
|
|
2022
2251
|
// Data is already formatted on init, no need to do anything
|
|
2023
2252
|
}
|
|
2253
|
+
/** @deprecated Use {@link OnMetricsPanelToggle}. */
|
|
2024
2254
|
onMetricsPanelToggle(event) {
|
|
2255
|
+
return this.OnMetricsPanelToggle(event);
|
|
2256
|
+
}
|
|
2257
|
+
OnModelSpecificPanelToggle(event) {
|
|
2025
2258
|
const expanded = event;
|
|
2026
|
-
this.
|
|
2259
|
+
this.ModelSpecificExpanded = expanded;
|
|
2027
2260
|
// Data is already formatted on init, no need to do anything
|
|
2028
2261
|
}
|
|
2262
|
+
/** @deprecated Use {@link OnModelSpecificPanelToggle}. */
|
|
2029
2263
|
onModelSpecificPanelToggle(event) {
|
|
2264
|
+
return this.OnModelSpecificPanelToggle(event);
|
|
2265
|
+
}
|
|
2266
|
+
OnModelSelectionPanelToggle(event) {
|
|
2030
2267
|
const expanded = event;
|
|
2031
|
-
this.modelSpecificExpanded = expanded;
|
|
2032
2268
|
// Data is already formatted on init, no need to do anything
|
|
2033
2269
|
}
|
|
2270
|
+
/** @deprecated Use {@link OnModelSelectionPanelToggle}. */
|
|
2034
2271
|
onModelSelectionPanelToggle(event) {
|
|
2035
|
-
|
|
2036
|
-
// Data is already formatted on init, no need to do anything
|
|
2272
|
+
return this.OnModelSelectionPanelToggle(event);
|
|
2037
2273
|
}
|
|
2038
2274
|
async loadRelatedData() {
|
|
2039
|
-
this.
|
|
2275
|
+
this.IsLoadingRelatedData = true;
|
|
2040
2276
|
try {
|
|
2041
2277
|
const md = this.ProviderToUse;
|
|
2042
2278
|
// Load prompt
|
|
2043
2279
|
if (this.record.PromptID) {
|
|
2044
|
-
this.
|
|
2045
|
-
if (this.
|
|
2046
|
-
await this.
|
|
2280
|
+
this.Prompt = await md.GetEntityObject('MJ: AI Prompts');
|
|
2281
|
+
if (this.Prompt) {
|
|
2282
|
+
await this.Prompt.Load(this.record.PromptID);
|
|
2047
2283
|
}
|
|
2048
2284
|
}
|
|
2049
2285
|
// Load model
|
|
@@ -2055,9 +2291,9 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2055
2291
|
}
|
|
2056
2292
|
// Load parent run if exists
|
|
2057
2293
|
if (this.record.ParentID) {
|
|
2058
|
-
this.
|
|
2059
|
-
if (this.
|
|
2060
|
-
await this.
|
|
2294
|
+
this.ParentRun = await md.GetEntityObject('MJ: AI Prompt Runs');
|
|
2295
|
+
if (this.ParentRun) {
|
|
2296
|
+
await this.ParentRun.Load(this.record.ParentID);
|
|
2061
2297
|
}
|
|
2062
2298
|
}
|
|
2063
2299
|
// Load child runs
|
|
@@ -2067,7 +2303,7 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2067
2303
|
console.error('Error loading related data:', error);
|
|
2068
2304
|
}
|
|
2069
2305
|
finally {
|
|
2070
|
-
this.
|
|
2306
|
+
this.IsLoadingRelatedData = false;
|
|
2071
2307
|
}
|
|
2072
2308
|
}
|
|
2073
2309
|
async loadChildRuns() {
|
|
@@ -2081,7 +2317,7 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2081
2317
|
ResultType: 'entity_object'
|
|
2082
2318
|
});
|
|
2083
2319
|
if (result.Success) {
|
|
2084
|
-
this.
|
|
2320
|
+
this.ChildRuns = result.Results || [];
|
|
2085
2321
|
}
|
|
2086
2322
|
}
|
|
2087
2323
|
formatAllJsonFields() {
|
|
@@ -2092,15 +2328,15 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2092
2328
|
console.log('📄 Formatting input data...');
|
|
2093
2329
|
// Format input/messages data
|
|
2094
2330
|
const messageData = this.record.ParseMessagesData();
|
|
2095
|
-
this.
|
|
2096
|
-
this.
|
|
2097
|
-
this.
|
|
2098
|
-
this.
|
|
2099
|
-
console.log('📄 Input data formatted. Chat messages:', this.
|
|
2331
|
+
this.ChatMessages = messageData.chatMessages;
|
|
2332
|
+
this.InputData = messageData.inputData;
|
|
2333
|
+
this.FormattedMessages = messageData.formattedMessages;
|
|
2334
|
+
this.FormattedData = messageData.formattedData;
|
|
2335
|
+
console.log('📄 Input data formatted. Chat messages:', this.ChatMessages.length, 'Input data exists:', !!this.InputData);
|
|
2100
2336
|
console.log('📊 Formatting result data...');
|
|
2101
2337
|
// Format result data
|
|
2102
|
-
this.
|
|
2103
|
-
console.log('📊 Result formatted:', !!this.
|
|
2338
|
+
this.FormattedResult = this.record.GetFormattedResult();
|
|
2339
|
+
console.log('📊 Result formatted:', !!this.FormattedResult, 'Length:', this.FormattedResult?.length);
|
|
2104
2340
|
console.log('🔍 Formatting validation data...');
|
|
2105
2341
|
// Format validation data
|
|
2106
2342
|
this.loadValidationData();
|
|
@@ -2111,7 +2347,7 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2111
2347
|
// Format model specific response details
|
|
2112
2348
|
this.formatModelSpecificResponseDetails();
|
|
2113
2349
|
// Format error details if available
|
|
2114
|
-
if (this.record.ErrorDetails && !this.
|
|
2350
|
+
if (this.record.ErrorDetails && !this.FormattedErrorDetails) {
|
|
2115
2351
|
console.log('⚠️ Formatting error details...');
|
|
2116
2352
|
this.formatErrorDetails();
|
|
2117
2353
|
}
|
|
@@ -2129,10 +2365,10 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2129
2365
|
try {
|
|
2130
2366
|
const modelSelection = JSON.parse(this.record.ModelSelection);
|
|
2131
2367
|
const parsed = ParseJSONRecursive(modelSelection, parseOptions);
|
|
2132
|
-
this.
|
|
2368
|
+
this.FormattedModelSelection = JSON.stringify(parsed, null, 2);
|
|
2133
2369
|
}
|
|
2134
2370
|
catch (error) {
|
|
2135
|
-
this.
|
|
2371
|
+
this.FormattedModelSelection = this.record.ModelSelection;
|
|
2136
2372
|
}
|
|
2137
2373
|
}
|
|
2138
2374
|
// Format ErrorDetails
|
|
@@ -2140,17 +2376,17 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2140
2376
|
try {
|
|
2141
2377
|
const errorDetails = JSON.parse(this.record.ErrorDetails);
|
|
2142
2378
|
const parsed = ParseJSONRecursive(errorDetails, parseOptions);
|
|
2143
|
-
this.
|
|
2379
|
+
this.FormattedErrorDetails = JSON.stringify(parsed, null, 2);
|
|
2144
2380
|
}
|
|
2145
2381
|
catch (error) {
|
|
2146
|
-
this.
|
|
2382
|
+
this.FormattedErrorDetails = this.record.ErrorDetails;
|
|
2147
2383
|
}
|
|
2148
2384
|
}
|
|
2149
2385
|
// Note: ModelSpecificResponseDetails is now formatted in its own panel toggle method
|
|
2150
2386
|
}
|
|
2151
2387
|
formatErrorDetails() {
|
|
2152
2388
|
if (!this.record.ErrorDetails) {
|
|
2153
|
-
this.
|
|
2389
|
+
this.FormattedErrorDetails = '';
|
|
2154
2390
|
return;
|
|
2155
2391
|
}
|
|
2156
2392
|
const parseOptions = {
|
|
@@ -2161,15 +2397,15 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2161
2397
|
try {
|
|
2162
2398
|
const errorDetails = JSON.parse(this.record.ErrorDetails);
|
|
2163
2399
|
const parsed = ParseJSONRecursive(errorDetails, parseOptions);
|
|
2164
|
-
this.
|
|
2400
|
+
this.FormattedErrorDetails = JSON.stringify(parsed, null, 2);
|
|
2165
2401
|
}
|
|
2166
2402
|
catch (error) {
|
|
2167
|
-
this.
|
|
2403
|
+
this.FormattedErrorDetails = this.record.ErrorDetails;
|
|
2168
2404
|
}
|
|
2169
2405
|
}
|
|
2170
2406
|
formatModelSpecificResponseDetails() {
|
|
2171
2407
|
if (!this.record.ModelSpecificResponseDetails) {
|
|
2172
|
-
this.
|
|
2408
|
+
this.FormattedModelSpecificResponseDetails = '';
|
|
2173
2409
|
return;
|
|
2174
2410
|
}
|
|
2175
2411
|
const parseOptions = {
|
|
@@ -2180,13 +2416,13 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2180
2416
|
try {
|
|
2181
2417
|
const modelDetails = JSON.parse(this.record.ModelSpecificResponseDetails);
|
|
2182
2418
|
const parsed = ParseJSONRecursive(modelDetails, parseOptions);
|
|
2183
|
-
this.
|
|
2419
|
+
this.FormattedModelSpecificResponseDetails = JSON.stringify(parsed, null, 2);
|
|
2184
2420
|
}
|
|
2185
2421
|
catch (error) {
|
|
2186
|
-
this.
|
|
2422
|
+
this.FormattedModelSpecificResponseDetails = this.record.ModelSpecificResponseDetails;
|
|
2187
2423
|
}
|
|
2188
2424
|
}
|
|
2189
|
-
|
|
2425
|
+
GetStatusColor() {
|
|
2190
2426
|
if (!this.record)
|
|
2191
2427
|
return '#6c757d';
|
|
2192
2428
|
if (!this.record.CompletedAt) {
|
|
@@ -2202,7 +2438,11 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2202
2438
|
return '#17a2b8'; // Blue (completed but no success flag)
|
|
2203
2439
|
}
|
|
2204
2440
|
}
|
|
2205
|
-
|
|
2441
|
+
/** @deprecated Use {@link GetStatusColor}. */
|
|
2442
|
+
getStatusColor() {
|
|
2443
|
+
return this.GetStatusColor();
|
|
2444
|
+
}
|
|
2445
|
+
GetStatusIcon() {
|
|
2206
2446
|
if (!this.record)
|
|
2207
2447
|
return 'fa-circle';
|
|
2208
2448
|
if (!this.record.CompletedAt) {
|
|
@@ -2218,7 +2458,11 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2218
2458
|
return 'fa-info-circle';
|
|
2219
2459
|
}
|
|
2220
2460
|
}
|
|
2221
|
-
|
|
2461
|
+
/** @deprecated Use {@link GetStatusIcon}. */
|
|
2462
|
+
getStatusIcon() {
|
|
2463
|
+
return this.GetStatusIcon();
|
|
2464
|
+
}
|
|
2465
|
+
GetStatusText() {
|
|
2222
2466
|
if (!this.record)
|
|
2223
2467
|
return 'Unknown';
|
|
2224
2468
|
if (!this.record.CompletedAt) {
|
|
@@ -2234,6 +2478,10 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2234
2478
|
return 'Completed';
|
|
2235
2479
|
}
|
|
2236
2480
|
}
|
|
2481
|
+
/** @deprecated Use {@link GetStatusText}. */
|
|
2482
|
+
getStatusText() {
|
|
2483
|
+
return this.GetStatusText();
|
|
2484
|
+
}
|
|
2237
2485
|
formatDuration(ms) {
|
|
2238
2486
|
if (!ms)
|
|
2239
2487
|
return '-';
|
|
@@ -2249,16 +2497,24 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2249
2497
|
return `${minutes}m ${seconds}s`;
|
|
2250
2498
|
}
|
|
2251
2499
|
}
|
|
2252
|
-
|
|
2500
|
+
FormatCost(cost) {
|
|
2253
2501
|
if (!cost)
|
|
2254
2502
|
return '-';
|
|
2255
2503
|
return `$${cost.toFixed(4)}`;
|
|
2256
2504
|
}
|
|
2257
|
-
|
|
2505
|
+
/** @deprecated Use {@link FormatCost}. */
|
|
2506
|
+
formatCost(cost) {
|
|
2507
|
+
return this.FormatCost(cost);
|
|
2508
|
+
}
|
|
2509
|
+
FormatTokens(tokens) {
|
|
2258
2510
|
if (!tokens)
|
|
2259
2511
|
return '-';
|
|
2260
2512
|
return tokens.toLocaleString();
|
|
2261
2513
|
}
|
|
2514
|
+
/** @deprecated Use {@link FormatTokens}. */
|
|
2515
|
+
formatTokens(tokens) {
|
|
2516
|
+
return this.FormatTokens(tokens);
|
|
2517
|
+
}
|
|
2262
2518
|
/**
|
|
2263
2519
|
* Total tokens the provider actually processed = uncached (TokensUsed = prompt+completion) PLUS
|
|
2264
2520
|
* the cache buckets. TokensUsed alone excludes cache by design, so a heavily-cached run looks
|
|
@@ -2296,7 +2552,7 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2296
2552
|
const totalInput = (this.record?.TokensPrompt ?? 0) + read + write;
|
|
2297
2553
|
return totalInput > 0 ? (read / totalInput) * 100 : 0;
|
|
2298
2554
|
}
|
|
2299
|
-
|
|
2555
|
+
GetRunTypeIcon(runType) {
|
|
2300
2556
|
switch (runType) {
|
|
2301
2557
|
case 'Single':
|
|
2302
2558
|
return 'fa-play-circle';
|
|
@@ -2310,7 +2566,11 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2310
2566
|
return 'fa-circle';
|
|
2311
2567
|
}
|
|
2312
2568
|
}
|
|
2313
|
-
|
|
2569
|
+
/** @deprecated Use {@link GetRunTypeIcon}. */
|
|
2570
|
+
getRunTypeIcon(runType) {
|
|
2571
|
+
return this.GetRunTypeIcon(runType);
|
|
2572
|
+
}
|
|
2573
|
+
GetRunTypeColor(runType) {
|
|
2314
2574
|
switch (runType) {
|
|
2315
2575
|
case 'Single':
|
|
2316
2576
|
return '#6f42c1';
|
|
@@ -2324,17 +2584,29 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2324
2584
|
return '#6c757d';
|
|
2325
2585
|
}
|
|
2326
2586
|
}
|
|
2327
|
-
|
|
2587
|
+
/** @deprecated Use {@link GetRunTypeColor}. */
|
|
2588
|
+
getRunTypeColor(runType) {
|
|
2589
|
+
return this.GetRunTypeColor(runType);
|
|
2590
|
+
}
|
|
2591
|
+
NavigateToEntity(entityName, recordId) {
|
|
2328
2592
|
if (!recordId)
|
|
2329
2593
|
return;
|
|
2330
2594
|
SharedService.Instance.OpenEntityRecord(entityName, CompositeKey.FromURLSegment(this.ProviderToUse.EntityByName(entityName), recordId));
|
|
2331
2595
|
}
|
|
2332
|
-
|
|
2596
|
+
/** @deprecated Use {@link NavigateToEntity}. */
|
|
2597
|
+
navigateToEntity(entityName, recordId) {
|
|
2598
|
+
return this.NavigateToEntity(entityName, recordId);
|
|
2599
|
+
}
|
|
2600
|
+
NavigateToOriginalRun() {
|
|
2333
2601
|
if (this.record?.RerunFromPromptRunID) {
|
|
2334
2602
|
SharedService.Instance.OpenEntityRecord('MJ: AI Prompt Runs', CompositeKey.FromID(this.record.RerunFromPromptRunID));
|
|
2335
2603
|
}
|
|
2336
2604
|
}
|
|
2337
|
-
|
|
2605
|
+
/** @deprecated Use {@link NavigateToOriginalRun}. */
|
|
2606
|
+
navigateToOriginalRun() {
|
|
2607
|
+
return this.NavigateToOriginalRun();
|
|
2608
|
+
}
|
|
2609
|
+
ReRunPrompt() {
|
|
2338
2610
|
console.log('🚀 Re-Run button clicked');
|
|
2339
2611
|
console.log('📋 Current record:', this.record);
|
|
2340
2612
|
console.log('🆔 Record ID:', this.record?.ID);
|
|
@@ -2346,7 +2618,7 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2346
2618
|
const params = {
|
|
2347
2619
|
promptId: this.record.PromptID,
|
|
2348
2620
|
promptRunId: this.record.ID,
|
|
2349
|
-
title: `Re-Run: ${this.
|
|
2621
|
+
title: `Re-Run: ${this.Prompt?.Name || 'Prompt'}`,
|
|
2350
2622
|
width: '80vw',
|
|
2351
2623
|
height: '80vh',
|
|
2352
2624
|
viewContainerRef: this.viewContainerRef
|
|
@@ -2365,7 +2637,11 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2365
2637
|
}
|
|
2366
2638
|
});
|
|
2367
2639
|
}
|
|
2368
|
-
|
|
2640
|
+
/** @deprecated Use {@link ReRunPrompt}. */
|
|
2641
|
+
reRunPrompt() {
|
|
2642
|
+
return this.ReRunPrompt();
|
|
2643
|
+
}
|
|
2644
|
+
CopyToClipboard(text, fieldName) {
|
|
2369
2645
|
navigator.clipboard.writeText(text).then(() => {
|
|
2370
2646
|
// Just show a console log for now, as ShowSimpleNotification may not exist
|
|
2371
2647
|
console.log(`${fieldName} copied to clipboard`);
|
|
@@ -2373,7 +2649,11 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2373
2649
|
console.error('Failed to copy:', err);
|
|
2374
2650
|
});
|
|
2375
2651
|
}
|
|
2376
|
-
|
|
2652
|
+
/** @deprecated Use {@link CopyToClipboard}. */
|
|
2653
|
+
copyToClipboard(text, fieldName) {
|
|
2654
|
+
return this.CopyToClipboard(text, fieldName);
|
|
2655
|
+
}
|
|
2656
|
+
async RefreshData() {
|
|
2377
2657
|
console.log('🔄 refreshData called');
|
|
2378
2658
|
if (this.record?.ID) {
|
|
2379
2659
|
console.log('🔄 Reloading record and formatting all data...');
|
|
@@ -2385,16 +2665,28 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2385
2665
|
this.cdr.detectChanges();
|
|
2386
2666
|
}
|
|
2387
2667
|
}
|
|
2388
|
-
|
|
2668
|
+
/** @deprecated Use {@link RefreshData}. */
|
|
2669
|
+
async refreshData() {
|
|
2670
|
+
return this.RefreshData();
|
|
2671
|
+
}
|
|
2672
|
+
OpenFullScreen(content, language, title) {
|
|
2389
2673
|
this.FullScreenContent = content;
|
|
2390
2674
|
this.FullScreenLanguage = language;
|
|
2391
2675
|
this.FullScreenTitle = title;
|
|
2392
2676
|
this.cdr.detectChanges();
|
|
2393
2677
|
}
|
|
2394
|
-
|
|
2678
|
+
/** @deprecated Use {@link OpenFullScreen}. */
|
|
2679
|
+
openFullScreen(content, language, title) {
|
|
2680
|
+
return this.OpenFullScreen(content, language, title);
|
|
2681
|
+
}
|
|
2682
|
+
CloseFullScreen() {
|
|
2395
2683
|
this.FullScreenContent = null;
|
|
2396
2684
|
this.cdr.detectChanges();
|
|
2397
2685
|
}
|
|
2686
|
+
/** @deprecated Use {@link CloseFullScreen}. */
|
|
2687
|
+
closeFullScreen() {
|
|
2688
|
+
return this.CloseFullScreen();
|
|
2689
|
+
}
|
|
2398
2690
|
loadValidationData() {
|
|
2399
2691
|
const parseOptions = {
|
|
2400
2692
|
extractInlineJson: true,
|
|
@@ -2404,36 +2696,36 @@ let MJAIPromptRunFormComponentExtended = class MJAIPromptRunFormComponentExtende
|
|
|
2404
2696
|
// Parse validation attempts if available
|
|
2405
2697
|
if (this.record.ValidationAttempts) {
|
|
2406
2698
|
try {
|
|
2407
|
-
this.
|
|
2408
|
-
const recursivelyParsed = ParseJSONRecursive(this.
|
|
2409
|
-
this.
|
|
2699
|
+
this.ValidationAttempts = JSON.parse(this.record.ValidationAttempts);
|
|
2700
|
+
const recursivelyParsed = ParseJSONRecursive(this.ValidationAttempts, parseOptions);
|
|
2701
|
+
this.FormattedValidationAttempts = JSON.stringify(recursivelyParsed, null, 2);
|
|
2410
2702
|
}
|
|
2411
2703
|
catch (error) {
|
|
2412
2704
|
console.error('Error parsing ValidationAttempts:', error);
|
|
2413
|
-
this.
|
|
2414
|
-
this.
|
|
2705
|
+
this.ValidationAttempts = [];
|
|
2706
|
+
this.FormattedValidationAttempts = '';
|
|
2415
2707
|
}
|
|
2416
2708
|
}
|
|
2417
2709
|
else {
|
|
2418
|
-
this.
|
|
2419
|
-
this.
|
|
2710
|
+
this.ValidationAttempts = [];
|
|
2711
|
+
this.FormattedValidationAttempts = '';
|
|
2420
2712
|
}
|
|
2421
2713
|
// Parse validation summary if available
|
|
2422
2714
|
if (this.record.ValidationSummary) {
|
|
2423
2715
|
try {
|
|
2424
|
-
this.
|
|
2425
|
-
const recursivelyParsed = ParseJSONRecursive(this.
|
|
2426
|
-
this.
|
|
2716
|
+
this.ValidationSummary = JSON.parse(this.record.ValidationSummary);
|
|
2717
|
+
const recursivelyParsed = ParseJSONRecursive(this.ValidationSummary, parseOptions);
|
|
2718
|
+
this.FormattedValidationSummary = JSON.stringify(recursivelyParsed, null, 2);
|
|
2427
2719
|
}
|
|
2428
2720
|
catch (error) {
|
|
2429
2721
|
console.error('Error parsing ValidationSummary:', error);
|
|
2430
|
-
this.
|
|
2431
|
-
this.
|
|
2722
|
+
this.ValidationSummary = null;
|
|
2723
|
+
this.FormattedValidationSummary = '';
|
|
2432
2724
|
}
|
|
2433
2725
|
}
|
|
2434
2726
|
else {
|
|
2435
|
-
this.
|
|
2436
|
-
this.
|
|
2727
|
+
this.ValidationSummary = null;
|
|
2728
|
+
this.FormattedValidationSummary = '';
|
|
2437
2729
|
}
|
|
2438
2730
|
// Don't auto-expand validation panel anymore - let user expand when needed
|
|
2439
2731
|
}
|