@memberjunction/ng-core-entity-forms 2.51.0 → 2.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/custom/AIAgents/ai-agent-form.component.js +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.d.ts +19 -2
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js +797 -508
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js.map +1 -1
- package/dist/lib/custom/Entities/entities-form.component.js +14 -16
- package/dist/lib/custom/Entities/entities-form.component.js.map +1 -1
- package/dist/lib/custom/EntityActions/entityaction.form.component.js +10 -12
- package/dist/lib/custom/EntityActions/entityaction.form.component.js.map +1 -1
- package/dist/lib/custom/Templates/template-params-grid.component.d.ts +37 -0
- package/dist/lib/custom/Templates/template-params-grid.component.d.ts.map +1 -0
- package/dist/lib/custom/Templates/template-params-grid.component.js +537 -0
- package/dist/lib/custom/Templates/template-params-grid.component.js.map +1 -0
- package/dist/lib/custom/Templates/templates-form.component.js +20 -25
- package/dist/lib/custom/Templates/templates-form.component.js.map +1 -1
- package/dist/lib/custom/ai-test-harness/agent-execution-monitor.component.d.ts.map +1 -0
- package/dist/lib/custom/{AIAgents → ai-test-harness}/agent-execution-monitor.component.js +18 -5
- package/dist/lib/custom/ai-test-harness/agent-execution-monitor.component.js.map +1 -0
- package/dist/lib/custom/ai-test-harness/agent-execution-node.component.d.ts.map +1 -0
- package/dist/lib/custom/{AIAgents → ai-test-harness}/agent-execution-node.component.js +4 -4
- package/dist/lib/custom/ai-test-harness/agent-execution-node.component.js.map +1 -0
- package/dist/lib/custom/ai-test-harness/ai-test-harness-dialog.component.d.ts.map +1 -0
- package/dist/lib/custom/{AIAgents → ai-test-harness}/ai-test-harness-dialog.component.js +1 -1
- package/dist/lib/custom/ai-test-harness/ai-test-harness-dialog.component.js.map +1 -0
- package/dist/lib/custom/{AIAgents → ai-test-harness}/ai-test-harness.component.d.ts +97 -7
- package/dist/lib/custom/ai-test-harness/ai-test-harness.component.d.ts.map +1 -0
- package/dist/lib/custom/ai-test-harness/ai-test-harness.component.js +3204 -0
- package/dist/lib/custom/ai-test-harness/ai-test-harness.component.js.map +1 -0
- package/dist/lib/custom/ai-test-harness/json-viewer-window.component.d.ts +8 -0
- package/dist/lib/custom/ai-test-harness/json-viewer-window.component.d.ts.map +1 -0
- package/dist/lib/custom/ai-test-harness/json-viewer-window.component.js +57 -0
- package/dist/lib/custom/ai-test-harness/json-viewer-window.component.js.map +1 -0
- package/dist/lib/custom/custom-forms.module.d.ts +26 -24
- package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
- package/dist/lib/custom/custom-forms.module.js +19 -9
- package/dist/lib/custom/custom-forms.module.js.map +1 -1
- package/dist/lib/custom/test-harness-dialog.service.js +1 -1
- package/dist/lib/custom/test-harness-dialog.service.js.map +1 -1
- package/dist/lib/generated/Entities/AIAction/aiaction.form.component.js +6 -8
- package/dist/lib/generated/Entities/AIAction/aiaction.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.js +19 -21
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentAction/aiagentaction.form.component.js +3 -5
- package/dist/lib/generated/Entities/AIAgentAction/aiagentaction.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentLearningCycle/aiagentlearningcycle.form.component.js +3 -5
- package/dist/lib/generated/Entities/AIAgentLearningCycle/aiagentlearningcycle.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentModel/aiagentmodel.form.component.js +3 -5
- package/dist/lib/generated/Entities/AIAgentModel/aiagentmodel.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentNote/aiagentnote.form.component.js +3 -5
- package/dist/lib/generated/Entities/AIAgentNote/aiagentnote.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentNoteType/aiagentnotetype.form.component.js +5 -7
- package/dist/lib/generated/Entities/AIAgentNoteType/aiagentnotetype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentPrompt/aiagentprompt.form.component.js +3 -5
- package/dist/lib/generated/Entities/AIAgentPrompt/aiagentprompt.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentRequest/aiagentrequest.form.component.js +3 -5
- package/dist/lib/generated/Entities/AIAgentRequest/aiagentrequest.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.js +9 -11
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIConfigurationParam/aiconfigurationparam.form.component.js +3 -5
- package/dist/lib/generated/Entities/AIConfigurationParam/aiconfigurationparam.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js +21 -23
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIModelAction/aimodelaction.form.component.js +3 -5
- package/dist/lib/generated/Entities/AIModelAction/aimodelaction.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIModelType/aimodeltype.form.component.js +6 -8
- package/dist/lib/generated/Entities/AIModelType/aimodeltype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIModelVendor/aimodelvendor.form.component.js +3 -5
- package/dist/lib/generated/Entities/AIModelVendor/aimodelvendor.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.js +21 -23
- package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPrompt/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIPrompt/sections/details.component.js +94 -4
- package/dist/lib/generated/Entities/AIPrompt/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPromptCategory/aipromptcategory.form.component.js +6 -8
- package/dist/lib/generated/Entities/AIPromptCategory/aipromptcategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPromptModel/aipromptmodel.form.component.js +3 -5
- package/dist/lib/generated/Entities/AIPromptModel/aipromptmodel.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPromptRun/aipromptrun.form.component.js +6 -8
- package/dist/lib/generated/Entities/AIPromptRun/aipromptrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.js +103 -4
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPromptType/aiprompttype.form.component.js +5 -7
- package/dist/lib/generated/Entities/AIPromptType/aiprompttype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIResultCache/airesultcache.form.component.js +3 -5
- package/dist/lib/generated/Entities/AIResultCache/airesultcache.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIVendor/aivendor.form.component.js +14 -16
- package/dist/lib/generated/Entities/AIVendor/aivendor.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIVendorType/aivendortype.form.component.js +3 -5
- package/dist/lib/generated/Entities/AIVendorType/aivendortype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/aivendortypedefinition.form.component.js +6 -8
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/aivendortypedefinition.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Action/action.form.component.js +24 -15
- package/dist/lib/generated/Entities/Action/action.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Action/sections/code.component.js +3 -4
- package/dist/lib/generated/Entities/Action/sections/code.component.js.map +1 -1
- package/dist/lib/generated/Entities/Action/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Action/sections/details.component.js +24 -4
- package/dist/lib/generated/Entities/Action/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/ActionAuthorization/actionauthorization.form.component.js +3 -5
- package/dist/lib/generated/Entities/ActionAuthorization/actionauthorization.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ActionCategory/actioncategory.form.component.js +6 -8
- package/dist/lib/generated/Entities/ActionCategory/actioncategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ActionContext/actioncontext.form.component.js +3 -5
- package/dist/lib/generated/Entities/ActionContext/actioncontext.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ActionContextType/actioncontexttype.form.component.js +5 -7
- package/dist/lib/generated/Entities/ActionContextType/actioncontexttype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ActionExecutionLog/actionexecutionlog.form.component.js +3 -5
- package/dist/lib/generated/Entities/ActionExecutionLog/actionexecutionlog.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ActionFilter/actionfilter.form.component.js +5 -7
- package/dist/lib/generated/Entities/ActionFilter/actionfilter.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ActionLibrary/actionlibrary.form.component.js +3 -5
- package/dist/lib/generated/Entities/ActionLibrary/actionlibrary.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ActionParam/actionparam.form.component.js +6 -8
- package/dist/lib/generated/Entities/ActionParam/actionparam.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ActionResultCode/actionresultcode.form.component.js +3 -5
- package/dist/lib/generated/Entities/ActionResultCode/actionresultcode.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Application/application.form.component.js +9 -11
- package/dist/lib/generated/Entities/Application/application.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ApplicationEntity/applicationentity.form.component.js +3 -5
- package/dist/lib/generated/Entities/ApplicationEntity/applicationentity.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ApplicationSetting/applicationsetting.form.component.js +3 -5
- package/dist/lib/generated/Entities/ApplicationSetting/applicationsetting.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ArtifactType/artifacttype.form.component.js +5 -7
- package/dist/lib/generated/Entities/ArtifactType/artifacttype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AuditLog/auditlog.form.component.js +3 -5
- package/dist/lib/generated/Entities/AuditLog/auditlog.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AuditLogType/auditlogtype.form.component.js +6 -8
- package/dist/lib/generated/Entities/AuditLogType/auditlogtype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Authorization/authorization.form.component.js +9 -11
- package/dist/lib/generated/Entities/Authorization/authorization.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AuthorizationRole/authorizationrole.form.component.js +3 -5
- package/dist/lib/generated/Entities/AuthorizationRole/authorizationrole.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/CommunicationBaseMessageType/communicationbasemessagetype.form.component.js +6 -8
- package/dist/lib/generated/Entities/CommunicationBaseMessageType/communicationbasemessagetype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/CommunicationLog/communicationlog.form.component.js +3 -5
- package/dist/lib/generated/Entities/CommunicationLog/communicationlog.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/CommunicationProvider/communicationprovider.form.component.js +7 -9
- package/dist/lib/generated/Entities/CommunicationProvider/communicationprovider.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/CommunicationProviderMessageType/communicationprovidermessagetype.form.component.js +5 -7
- package/dist/lib/generated/Entities/CommunicationProviderMessageType/communicationprovidermessagetype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/CommunicationRun/communicationrun.form.component.js +5 -7
- package/dist/lib/generated/Entities/CommunicationRun/communicationrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Company/company.form.component.js +7 -9
- package/dist/lib/generated/Entities/Company/company.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/CompanyIntegration/companyintegration.form.component.js +8 -10
- package/dist/lib/generated/Entities/CompanyIntegration/companyintegration.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/CompanyIntegrationRecordMap/companyintegrationrecordmap.form.component.js +3 -5
- package/dist/lib/generated/Entities/CompanyIntegrationRecordMap/companyintegrationrecordmap.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/CompanyIntegrationRun/companyintegrationrun.form.component.js +7 -9
- package/dist/lib/generated/Entities/CompanyIntegrationRun/companyintegrationrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/CompanyIntegrationRunAPILog/companyintegrationrunapilog.form.component.js +3 -5
- package/dist/lib/generated/Entities/CompanyIntegrationRunAPILog/companyintegrationrunapilog.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/CompanyIntegrationRunDetail/companyintegrationrundetail.form.component.js +5 -7
- package/dist/lib/generated/Entities/CompanyIntegrationRunDetail/companyintegrationrundetail.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ContentFileType/contentfiletype.form.component.js +6 -8
- package/dist/lib/generated/Entities/ContentFileType/contentfiletype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ContentItem/contentitem.form.component.js +6 -8
- package/dist/lib/generated/Entities/ContentItem/contentitem.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ContentItemAttribute/contentitemattribute.form.component.js +3 -5
- package/dist/lib/generated/Entities/ContentItemAttribute/contentitemattribute.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ContentItemTag/contentitemtag.form.component.js +3 -5
- package/dist/lib/generated/Entities/ContentItemTag/contentitemtag.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ContentProcessRun/contentprocessrun.form.component.js +3 -5
- package/dist/lib/generated/Entities/ContentProcessRun/contentprocessrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ContentSource/contentsource.form.component.js +7 -9
- package/dist/lib/generated/Entities/ContentSource/contentsource.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ContentSourceParam/contentsourceparam.form.component.js +3 -5
- package/dist/lib/generated/Entities/ContentSourceParam/contentsourceparam.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ContentSourceType/contentsourcetype.form.component.js +6 -8
- package/dist/lib/generated/Entities/ContentSourceType/contentsourcetype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ContentSourceTypeParam/contentsourcetypeparam.form.component.js +3 -5
- package/dist/lib/generated/Entities/ContentSourceTypeParam/contentsourcetypeparam.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ContentType/contenttype.form.component.js +6 -8
- package/dist/lib/generated/Entities/ContentType/contenttype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ContentTypeAttribute/contenttypeattribute.form.component.js +3 -5
- package/dist/lib/generated/Entities/ContentTypeAttribute/contenttypeattribute.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Conversation/conversation.form.component.js +8 -10
- package/dist/lib/generated/Entities/Conversation/conversation.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ConversationArtifact/conversationartifact.form.component.js +7 -9
- package/dist/lib/generated/Entities/ConversationArtifact/conversationartifact.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ConversationArtifactPermission/conversationartifactpermission.form.component.js +3 -5
- package/dist/lib/generated/Entities/ConversationArtifactPermission/conversationartifactpermission.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ConversationArtifactVersion/conversationartifactversion.form.component.js +5 -7
- package/dist/lib/generated/Entities/ConversationArtifactVersion/conversationartifactversion.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ConversationDetail/conversationdetail.form.component.js +5 -7
- package/dist/lib/generated/Entities/ConversationDetail/conversationdetail.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Dashboard/dashboard.form.component.js +6 -8
- package/dist/lib/generated/Entities/Dashboard/dashboard.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/DashboardCategory/dashboardcategory.form.component.js +6 -8
- package/dist/lib/generated/Entities/DashboardCategory/dashboardcategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/DashboardUserPreference/dashboarduserpreference.form.component.js +3 -5
- package/dist/lib/generated/Entities/DashboardUserPreference/dashboarduserpreference.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/DashboardUserState/dashboarduserstate.form.component.js +3 -5
- package/dist/lib/generated/Entities/DashboardUserState/dashboarduserstate.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/DataContext/datacontext.form.component.js +7 -9
- package/dist/lib/generated/Entities/DataContext/datacontext.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/DataContextItem/datacontextitem.form.component.js +3 -5
- package/dist/lib/generated/Entities/DataContextItem/datacontextitem.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Dataset/dataset.form.component.js +5 -7
- package/dist/lib/generated/Entities/Dataset/dataset.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/DatasetItem/datasetitem.form.component.js +3 -5
- package/dist/lib/generated/Entities/DatasetItem/datasetitem.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/DuplicateRun/duplicaterun.form.component.js +5 -7
- package/dist/lib/generated/Entities/DuplicateRun/duplicaterun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/DuplicateRunDetail/duplicaterundetail.form.component.js +5 -7
- package/dist/lib/generated/Entities/DuplicateRunDetail/duplicaterundetail.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/DuplicateRunDetailMatch/duplicaterundetailmatch.form.component.js +3 -5
- package/dist/lib/generated/Entities/DuplicateRunDetailMatch/duplicaterundetailmatch.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Employee/employee.form.component.js +9 -11
- package/dist/lib/generated/Entities/Employee/employee.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EmployeeCompanyIntegration/employeecompanyintegration.form.component.js +3 -5
- package/dist/lib/generated/Entities/EmployeeCompanyIntegration/employeecompanyintegration.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EmployeeRole/employeerole.form.component.js +3 -5
- package/dist/lib/generated/Entities/EmployeeRole/employeerole.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EmployeeSkill/employeeskill.form.component.js +3 -5
- package/dist/lib/generated/Entities/EmployeeSkill/employeeskill.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Entity/entity.form.component.js +41 -43
- package/dist/lib/generated/Entities/Entity/entity.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Entity/sections/ui.component.js +3 -4
- package/dist/lib/generated/Entities/Entity/sections/ui.component.js.map +1 -1
- package/dist/lib/generated/Entities/EntityAIAction/entityaiaction.form.component.js +3 -5
- package/dist/lib/generated/Entities/EntityAIAction/entityaiaction.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EntityAction/entityaction.form.component.js +7 -9
- package/dist/lib/generated/Entities/EntityAction/entityaction.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EntityActionFilter/entityactionfilter.form.component.js +3 -5
- package/dist/lib/generated/Entities/EntityActionFilter/entityactionfilter.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EntityActionInvocation/entityactioninvocation.form.component.js +3 -5
- package/dist/lib/generated/Entities/EntityActionInvocation/entityactioninvocation.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EntityActionInvocationType/entityactioninvocationtype.form.component.js +5 -7
- package/dist/lib/generated/Entities/EntityActionInvocationType/entityactioninvocationtype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EntityActionParam/entityactionparam.form.component.js +3 -5
- package/dist/lib/generated/Entities/EntityActionParam/entityactionparam.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EntityCommunicationField/entitycommunicationfield.form.component.js +3 -5
- package/dist/lib/generated/Entities/EntityCommunicationField/entitycommunicationfield.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EntityCommunicationMessageType/entitycommunicationmessagetype.form.component.js +5 -7
- package/dist/lib/generated/Entities/EntityCommunicationMessageType/entitycommunicationmessagetype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EntityDocument/entitydocument.form.component.js +7 -9
- package/dist/lib/generated/Entities/EntityDocument/entitydocument.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EntityDocumentRun/entitydocumentrun.form.component.js +3 -5
- package/dist/lib/generated/Entities/EntityDocumentRun/entitydocumentrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EntityDocumentSetting/entitydocumentsetting.form.component.js +3 -5
- package/dist/lib/generated/Entities/EntityDocumentSetting/entitydocumentsetting.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EntityDocumentType/entitydocumenttype.form.component.js +5 -7
- package/dist/lib/generated/Entities/EntityDocumentType/entitydocumenttype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EntityField/entityfield.form.component.js +5 -7
- package/dist/lib/generated/Entities/EntityField/entityfield.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EntityFieldValue/entityfieldvalue.form.component.js +3 -5
- package/dist/lib/generated/Entities/EntityFieldValue/entityfieldvalue.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EntityPermission/entitypermission.form.component.js +3 -5
- package/dist/lib/generated/Entities/EntityPermission/entitypermission.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EntityRecordDocument/entityrecorddocument.form.component.js +3 -5
- package/dist/lib/generated/Entities/EntityRecordDocument/entityrecorddocument.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EntityRelationship/entityrelationship.form.component.js +3 -5
- package/dist/lib/generated/Entities/EntityRelationship/entityrelationship.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EntityRelationshipDisplayComponent/entityrelationshipdisplaycomponent.form.component.js +5 -7
- package/dist/lib/generated/Entities/EntityRelationshipDisplayComponent/entityrelationshipdisplaycomponent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/EntitySetting/entitysetting.form.component.js +3 -5
- package/dist/lib/generated/Entities/EntitySetting/entitysetting.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ErrorLog/errorlog.form.component.js +3 -5
- package/dist/lib/generated/Entities/ErrorLog/errorlog.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ExplorerNavigationItem/explorernavigationitem.form.component.js +3 -5
- package/dist/lib/generated/Entities/ExplorerNavigationItem/explorernavigationitem.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/File/file.form.component.js +5 -7
- package/dist/lib/generated/Entities/File/file.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/FileCategory/filecategory.form.component.js +6 -8
- package/dist/lib/generated/Entities/FileCategory/filecategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/FileEntityRecordLink/fileentityrecordlink.form.component.js +3 -5
- package/dist/lib/generated/Entities/FileEntityRecordLink/fileentityrecordlink.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/FileStorageProvider/filestorageprovider.form.component.js +5 -7
- package/dist/lib/generated/Entities/FileStorageProvider/filestorageprovider.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/GeneratedCode/generatedcode.form.component.js +3 -5
- package/dist/lib/generated/Entities/GeneratedCode/generatedcode.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/GeneratedCodeCategory/generatedcodecategory.form.component.js +6 -8
- package/dist/lib/generated/Entities/GeneratedCodeCategory/generatedcodecategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Integration/integration.form.component.js +7 -9
- package/dist/lib/generated/Entities/Integration/integration.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/IntegrationURLFormat/integrationurlformat.form.component.js +3 -5
- package/dist/lib/generated/Entities/IntegrationURLFormat/integrationurlformat.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Library/library.form.component.js +6 -8
- package/dist/lib/generated/Entities/Library/library.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/LibraryItem/libraryitem.form.component.js +3 -5
- package/dist/lib/generated/Entities/LibraryItem/libraryitem.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/List/list.form.component.js +6 -8
- package/dist/lib/generated/Entities/List/list.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ListCategory/listcategory.form.component.js +6 -8
- package/dist/lib/generated/Entities/ListCategory/listcategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ListDetail/listdetail.form.component.js +3 -5
- package/dist/lib/generated/Entities/ListDetail/listdetail.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/OutputDeliveryType/outputdeliverytype.form.component.js +5 -7
- package/dist/lib/generated/Entities/OutputDeliveryType/outputdeliverytype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/OutputFormatType/outputformattype.form.component.js +5 -7
- package/dist/lib/generated/Entities/OutputFormatType/outputformattype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/OutputTriggerType/outputtriggertype.form.component.js +5 -7
- package/dist/lib/generated/Entities/OutputTriggerType/outputtriggertype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Query/query.form.component.js +8 -10
- package/dist/lib/generated/Entities/Query/query.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/QueryCategory/querycategory.form.component.js +6 -8
- package/dist/lib/generated/Entities/QueryCategory/querycategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/QueryEntity/queryentity.form.component.js +3 -5
- package/dist/lib/generated/Entities/QueryEntity/queryentity.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/QueryField/queryfield.form.component.js +3 -5
- package/dist/lib/generated/Entities/QueryField/queryfield.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/QueryPermission/querypermission.form.component.js +3 -5
- package/dist/lib/generated/Entities/QueryPermission/querypermission.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Queue/queue.form.component.js +5 -7
- package/dist/lib/generated/Entities/Queue/queue.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/QueueTask/queuetask.form.component.js +3 -5
- package/dist/lib/generated/Entities/QueueTask/queuetask.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/QueueType/queuetype.form.component.js +5 -7
- package/dist/lib/generated/Entities/QueueType/queuetype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Recommendation/recommendation.form.component.js +5 -7
- package/dist/lib/generated/Entities/Recommendation/recommendation.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/RecommendationItem/recommendationitem.form.component.js +3 -5
- package/dist/lib/generated/Entities/RecommendationItem/recommendationitem.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/RecommendationProvider/recommendationprovider.form.component.js +5 -7
- package/dist/lib/generated/Entities/RecommendationProvider/recommendationprovider.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/RecommendationRun/recommendationrun.form.component.js +5 -7
- package/dist/lib/generated/Entities/RecommendationRun/recommendationrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/RecordChange/recordchange.form.component.js +3 -5
- package/dist/lib/generated/Entities/RecordChange/recordchange.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/RecordChangeReplayRun/recordchangereplayrun.form.component.js +5 -7
- package/dist/lib/generated/Entities/RecordChangeReplayRun/recordchangereplayrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/RecordMergeDeletionLog/recordmergedeletionlog.form.component.js +3 -5
- package/dist/lib/generated/Entities/RecordMergeDeletionLog/recordmergedeletionlog.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/RecordMergeLog/recordmergelog.form.component.js +6 -8
- package/dist/lib/generated/Entities/RecordMergeLog/recordmergelog.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Report/report.form.component.js +7 -9
- package/dist/lib/generated/Entities/Report/report.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ReportCategory/reportcategory.form.component.js +6 -8
- package/dist/lib/generated/Entities/ReportCategory/reportcategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ReportSnapshot/reportsnapshot.form.component.js +3 -5
- package/dist/lib/generated/Entities/ReportSnapshot/reportsnapshot.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ReportUserState/reportuserstate.form.component.js +3 -5
- package/dist/lib/generated/Entities/ReportUserState/reportuserstate.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ReportVersion/reportversion.form.component.js +3 -5
- package/dist/lib/generated/Entities/ReportVersion/reportversion.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ResourceLink/resourcelink.form.component.js +3 -5
- package/dist/lib/generated/Entities/ResourceLink/resourcelink.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ResourcePermission/resourcepermission.form.component.js +3 -5
- package/dist/lib/generated/Entities/ResourcePermission/resourcepermission.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ResourceType/resourcetype.form.component.js +8 -10
- package/dist/lib/generated/Entities/ResourceType/resourcetype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Role/role.form.component.js +10 -12
- package/dist/lib/generated/Entities/Role/role.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/RowLevelSecurityFilter/rowlevelsecurityfilter.form.component.js +5 -7
- package/dist/lib/generated/Entities/RowLevelSecurityFilter/rowlevelsecurityfilter.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ScheduledAction/scheduledaction.form.component.js +5 -7
- package/dist/lib/generated/Entities/ScheduledAction/scheduledaction.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ScheduledActionParam/scheduledactionparam.form.component.js +3 -5
- package/dist/lib/generated/Entities/ScheduledActionParam/scheduledactionparam.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/SchemaInfo/schemainfo.form.component.js +3 -5
- package/dist/lib/generated/Entities/SchemaInfo/schemainfo.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Skill/skill.form.component.js +6 -8
- package/dist/lib/generated/Entities/Skill/skill.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Tag/tag.form.component.js +6 -8
- package/dist/lib/generated/Entities/Tag/tag.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/TaggedItem/taggeditem.form.component.js +3 -5
- package/dist/lib/generated/Entities/TaggedItem/taggeditem.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Template/template.form.component.js +8 -10
- package/dist/lib/generated/Entities/Template/template.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/TemplateCategory/templatecategory.form.component.js +6 -8
- package/dist/lib/generated/Entities/TemplateCategory/templatecategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/TemplateContent/templatecontent.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/TemplateContent/templatecontent.form.component.js +19 -10
- package/dist/lib/generated/Entities/TemplateContent/templatecontent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/TemplateContentType/templatecontenttype.form.component.js +5 -7
- package/dist/lib/generated/Entities/TemplateContentType/templatecontenttype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/TemplateParam/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/TemplateParam/sections/details.component.js +15 -4
- package/dist/lib/generated/Entities/TemplateParam/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/TemplateParam/templateparam.form.component.js +3 -5
- package/dist/lib/generated/Entities/TemplateParam/templateparam.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/User/user.form.component.js +46 -48
- package/dist/lib/generated/Entities/User/user.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/UserApplication/userapplication.form.component.js +5 -7
- package/dist/lib/generated/Entities/UserApplication/userapplication.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/UserApplicationEntity/userapplicationentity.form.component.js +3 -5
- package/dist/lib/generated/Entities/UserApplicationEntity/userapplicationentity.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/UserFavorite/userfavorite.form.component.js +3 -5
- package/dist/lib/generated/Entities/UserFavorite/userfavorite.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/UserNotification/usernotification.form.component.js +3 -5
- package/dist/lib/generated/Entities/UserNotification/usernotification.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/UserRecordLog/userrecordlog.form.component.js +3 -5
- package/dist/lib/generated/Entities/UserRecordLog/userrecordlog.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/UserRole/userrole.form.component.js +3 -5
- package/dist/lib/generated/Entities/UserRole/userrole.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/UserView/userview.form.component.js +7 -9
- package/dist/lib/generated/Entities/UserView/userview.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/UserViewCategory/userviewcategory.form.component.js +6 -8
- package/dist/lib/generated/Entities/UserViewCategory/userviewcategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/UserViewRun/userviewrun.form.component.js +5 -7
- package/dist/lib/generated/Entities/UserViewRun/userviewrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/UserViewRunDetail/userviewrundetail.form.component.js +3 -5
- package/dist/lib/generated/Entities/UserViewRunDetail/userviewrundetail.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/VectorDatabase/vectordatabase.form.component.js +6 -8
- package/dist/lib/generated/Entities/VectorDatabase/vectordatabase.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/VectorIndex/vectorindex.form.component.js +5 -7
- package/dist/lib/generated/Entities/VectorIndex/vectorindex.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/VersionInstallation/versioninstallation.form.component.js +3 -5
- package/dist/lib/generated/Entities/VersionInstallation/versioninstallation.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Workflow/workflow.form.component.js +6 -8
- package/dist/lib/generated/Entities/Workflow/workflow.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/WorkflowEngine/workflowengine.form.component.js +5 -7
- package/dist/lib/generated/Entities/WorkflowEngine/workflowengine.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/WorkflowRun/workflowrun.form.component.js +3 -5
- package/dist/lib/generated/Entities/WorkflowRun/workflowrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Workspace/workspace.form.component.js +5 -7
- package/dist/lib/generated/Entities/Workspace/workspace.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/WorkspaceItem/workspaceitem.form.component.js +3 -5
- package/dist/lib/generated/Entities/WorkspaceItem/workspaceitem.form.component.js.map +1 -1
- package/dist/public-api.d.ts +2 -2
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +2 -2
- package/dist/public-api.js.map +1 -1
- package/package.json +12 -12
- package/dist/lib/custom/AIAgents/agent-execution-monitor.component.d.ts.map +0 -1
- package/dist/lib/custom/AIAgents/agent-execution-monitor.component.js.map +0 -1
- package/dist/lib/custom/AIAgents/agent-execution-node.component.d.ts.map +0 -1
- package/dist/lib/custom/AIAgents/agent-execution-node.component.js.map +0 -1
- package/dist/lib/custom/AIAgents/ai-test-harness-dialog.component.d.ts.map +0 -1
- package/dist/lib/custom/AIAgents/ai-test-harness-dialog.component.js.map +0 -1
- package/dist/lib/custom/AIAgents/ai-test-harness.component.d.ts.map +0 -1
- package/dist/lib/custom/AIAgents/ai-test-harness.component.js +0 -2658
- package/dist/lib/custom/AIAgents/ai-test-harness.component.js.map +0 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-execution-dialog.component.d.ts +0 -99
- package/dist/lib/custom/AIPrompts/ai-prompt-execution-dialog.component.d.ts.map +0 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-execution-dialog.component.js +0 -830
- package/dist/lib/custom/AIPrompts/ai-prompt-execution-dialog.component.js.map +0 -1
- /package/dist/lib/custom/{AIAgents → ai-test-harness}/agent-execution-monitor.component.d.ts +0 -0
- /package/dist/lib/custom/{AIAgents → ai-test-harness}/agent-execution-node.component.d.ts +0 -0
- /package/dist/lib/custom/{AIAgents → ai-test-harness}/ai-test-harness-dialog.component.d.ts +0 -0
|
@@ -1,830 +0,0 @@
|
|
|
1
|
-
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
|
2
|
-
import { Metadata, RunView } from '@memberjunction/core';
|
|
3
|
-
import { MJNotificationService } from '@memberjunction/ng-notifications';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
import * as i2 from "@angular/forms";
|
|
7
|
-
import * as i3 from "@progress/kendo-angular-layout";
|
|
8
|
-
import * as i4 from "@progress/kendo-angular-dialog";
|
|
9
|
-
import * as i5 from "@progress/kendo-angular-inputs";
|
|
10
|
-
import * as i6 from "@progress/kendo-angular-dropdowns";
|
|
11
|
-
import * as i7 from "@progress/kendo-angular-buttons";
|
|
12
|
-
const _c0 = () => ({ text: "String", value: "string" });
|
|
13
|
-
const _c1 = () => ({ text: "Number", value: "number" });
|
|
14
|
-
const _c2 = () => ({ text: "Boolean", value: "boolean" });
|
|
15
|
-
const _c3 = () => ({ text: "Object", value: "object" });
|
|
16
|
-
const _c4 = (a0, a1, a2, a3) => [a0, a1, a2, a3];
|
|
17
|
-
const _c5 = () => ({ text: "True", value: "true" });
|
|
18
|
-
const _c6 = () => ({ text: "False", value: "false" });
|
|
19
|
-
const _c7 = (a0, a1) => [a0, a1];
|
|
20
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
-
i0.ɵɵelementStart(0, "span", 7);
|
|
22
|
-
i0.ɵɵtext(1);
|
|
23
|
-
i0.ɵɵelementEnd();
|
|
24
|
-
} if (rf & 2) {
|
|
25
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
26
|
-
i0.ɵɵadvance();
|
|
27
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r1.aiPrompt == null ? null : ctx_r1.aiPrompt.ParallelizationMode, " ");
|
|
28
|
-
} }
|
|
29
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
30
|
-
i0.ɵɵelementStart(0, "div", 9);
|
|
31
|
-
i0.ɵɵelement(1, "i", 13);
|
|
32
|
-
i0.ɵɵelementStart(2, "span", 14);
|
|
33
|
-
i0.ɵɵtext(3, "Loading prompt configuration...");
|
|
34
|
-
i0.ɵɵelementEnd()();
|
|
35
|
-
} }
|
|
36
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_ng_template_1_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
37
|
-
i0.ɵɵelementStart(0, "span", 47);
|
|
38
|
-
i0.ɵɵtext(1);
|
|
39
|
-
i0.ɵɵelementEnd();
|
|
40
|
-
} if (rf & 2) {
|
|
41
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
42
|
-
i0.ɵɵadvance();
|
|
43
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r1.dataContextVariables.length, " ");
|
|
44
|
-
} }
|
|
45
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
46
|
-
i0.ɵɵelementStart(0, "span", 44);
|
|
47
|
-
i0.ɵɵelement(1, "i", 45);
|
|
48
|
-
i0.ɵɵtext(2, " Data Context Variables ");
|
|
49
|
-
i0.ɵɵelementStart(3, "span", 46);
|
|
50
|
-
i0.ɵɵtext(4, "*");
|
|
51
|
-
i0.ɵɵelementEnd();
|
|
52
|
-
i0.ɵɵtemplate(5, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_ng_template_1_Conditional_5_Template, 2, 1, "span", 47);
|
|
53
|
-
i0.ɵɵelementEnd();
|
|
54
|
-
} if (rf & 2) {
|
|
55
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
56
|
-
i0.ɵɵadvance(5);
|
|
57
|
-
i0.ɵɵconditional(ctx_r1.dataContextVariables.length > 0 ? 5 : -1);
|
|
58
|
-
} }
|
|
59
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_For_13_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
60
|
-
const _r7 = i0.ɵɵgetCurrentView();
|
|
61
|
-
i0.ɵɵelementStart(0, "kendo-textarea", 63);
|
|
62
|
-
i0.ɵɵtwoWayListener("ngModelChange", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_For_13_Conditional_4_Template_kendo_textarea_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r7); const variable_r6 = i0.ɵɵnextContext().$implicit; i0.ɵɵtwoWayBindingSet(variable_r6.value, $event) || (variable_r6.value = $event); return i0.ɵɵresetView($event); });
|
|
63
|
-
i0.ɵɵlistener("valueChange", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_For_13_Conditional_4_Template_kendo_textarea_valueChange_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.updateDataContextFromVariables()); });
|
|
64
|
-
i0.ɵɵelementEnd();
|
|
65
|
-
} if (rf & 2) {
|
|
66
|
-
const ctx_r7 = i0.ɵɵnextContext();
|
|
67
|
-
const variable_r6 = ctx_r7.$implicit;
|
|
68
|
-
const ɵ$index_75_r9 = ctx_r7.$index;
|
|
69
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
70
|
-
i0.ɵɵtwoWayProperty("ngModel", variable_r6.value);
|
|
71
|
-
i0.ɵɵproperty("name", "varValue_" + ɵ$index_75_r9)("rows", 2)("disabled", ctx_r1.isRunning);
|
|
72
|
-
} }
|
|
73
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_For_13_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
74
|
-
const _r10 = i0.ɵɵgetCurrentView();
|
|
75
|
-
i0.ɵɵelementStart(0, "kendo-dropdownlist", 64);
|
|
76
|
-
i0.ɵɵtwoWayListener("ngModelChange", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_For_13_Conditional_5_Template_kendo_dropdownlist_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r10); const variable_r6 = i0.ɵɵnextContext().$implicit; i0.ɵɵtwoWayBindingSet(variable_r6.value, $event) || (variable_r6.value = $event); return i0.ɵɵresetView($event); });
|
|
77
|
-
i0.ɵɵlistener("valueChange", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_For_13_Conditional_5_Template_kendo_dropdownlist_valueChange_0_listener() { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.updateDataContextFromVariables()); });
|
|
78
|
-
i0.ɵɵelementEnd();
|
|
79
|
-
} if (rf & 2) {
|
|
80
|
-
const ctx_r7 = i0.ɵɵnextContext();
|
|
81
|
-
const variable_r6 = ctx_r7.$implicit;
|
|
82
|
-
const ɵ$index_75_r9 = ctx_r7.$index;
|
|
83
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
84
|
-
i0.ɵɵtwoWayProperty("ngModel", variable_r6.value);
|
|
85
|
-
i0.ɵɵproperty("name", "varValue_" + ɵ$index_75_r9)("data", i0.ɵɵpureFunction2(7, _c7, i0.ɵɵpureFunction0(5, _c5), i0.ɵɵpureFunction0(6, _c6)))("valuePrimitive", true)("disabled", ctx_r1.isRunning);
|
|
86
|
-
} }
|
|
87
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_For_13_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
88
|
-
const _r11 = i0.ɵɵgetCurrentView();
|
|
89
|
-
i0.ɵɵelementStart(0, "kendo-textbox", 65);
|
|
90
|
-
i0.ɵɵtwoWayListener("ngModelChange", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_For_13_Conditional_6_Template_kendo_textbox_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r11); const variable_r6 = i0.ɵɵnextContext().$implicit; i0.ɵɵtwoWayBindingSet(variable_r6.value, $event) || (variable_r6.value = $event); return i0.ɵɵresetView($event); });
|
|
91
|
-
i0.ɵɵlistener("valueChange", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_For_13_Conditional_6_Template_kendo_textbox_valueChange_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.updateDataContextFromVariables()); });
|
|
92
|
-
i0.ɵɵelementEnd();
|
|
93
|
-
} if (rf & 2) {
|
|
94
|
-
const ctx_r7 = i0.ɵɵnextContext();
|
|
95
|
-
const variable_r6 = ctx_r7.$implicit;
|
|
96
|
-
const ɵ$index_75_r9 = ctx_r7.$index;
|
|
97
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
98
|
-
i0.ɵɵtwoWayProperty("ngModel", variable_r6.value);
|
|
99
|
-
i0.ɵɵproperty("name", "varValue_" + ɵ$index_75_r9)("placeholder", variable_r6.type === "number" ? "Enter number..." : "Enter text...")("disabled", ctx_r1.isRunning);
|
|
100
|
-
} }
|
|
101
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_For_13_Template(rf, ctx) { if (rf & 1) {
|
|
102
|
-
const _r5 = i0.ɵɵgetCurrentView();
|
|
103
|
-
i0.ɵɵelementStart(0, "div", 54)(1, "div")(2, "kendo-textbox", 55);
|
|
104
|
-
i0.ɵɵtwoWayListener("ngModelChange", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_For_13_Template_kendo_textbox_ngModelChange_2_listener($event) { const variable_r6 = i0.ɵɵrestoreView(_r5).$implicit; i0.ɵɵtwoWayBindingSet(variable_r6.name, $event) || (variable_r6.name = $event); return i0.ɵɵresetView($event); });
|
|
105
|
-
i0.ɵɵlistener("valueChange", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_For_13_Template_kendo_textbox_valueChange_2_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.updateDataContextFromVariables()); });
|
|
106
|
-
i0.ɵɵelementEnd()();
|
|
107
|
-
i0.ɵɵelementStart(3, "div");
|
|
108
|
-
i0.ɵɵtemplate(4, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_For_13_Conditional_4_Template, 1, 4, "kendo-textarea", 56)(5, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_For_13_Conditional_5_Template, 1, 10, "kendo-dropdownlist", 57)(6, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_For_13_Conditional_6_Template, 1, 4, "kendo-textbox", 58);
|
|
109
|
-
i0.ɵɵelementEnd();
|
|
110
|
-
i0.ɵɵelementStart(7, "div")(8, "kendo-dropdownlist", 59);
|
|
111
|
-
i0.ɵɵtwoWayListener("ngModelChange", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_For_13_Template_kendo_dropdownlist_ngModelChange_8_listener($event) { const variable_r6 = i0.ɵɵrestoreView(_r5).$implicit; i0.ɵɵtwoWayBindingSet(variable_r6.type, $event) || (variable_r6.type = $event); return i0.ɵɵresetView($event); });
|
|
112
|
-
i0.ɵɵlistener("valueChange", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_For_13_Template_kendo_dropdownlist_valueChange_8_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.updateDataContextFromVariables()); });
|
|
113
|
-
i0.ɵɵelementEnd()();
|
|
114
|
-
i0.ɵɵelementStart(9, "div", 60)(10, "kendo-button", 61);
|
|
115
|
-
i0.ɵɵlistener("click", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_For_13_Template_kendo_button_click_10_listener() { const ɵ$index_75_r9 = i0.ɵɵrestoreView(_r5).$index; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.removeDataContextVariable(ɵ$index_75_r9)); });
|
|
116
|
-
i0.ɵɵelement(11, "i", 62);
|
|
117
|
-
i0.ɵɵelementEnd()()();
|
|
118
|
-
} if (rf & 2) {
|
|
119
|
-
const variable_r6 = ctx.$implicit;
|
|
120
|
-
const ɵ$index_75_r9 = ctx.$index;
|
|
121
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
122
|
-
i0.ɵɵstyleProp("background", !variable_r6.name.trim() ? "#fff3cd" : "white")("border-left", !variable_r6.name.trim() ? "3px solid #ffc107" : "none");
|
|
123
|
-
i0.ɵɵadvance(2);
|
|
124
|
-
i0.ɵɵtwoWayProperty("ngModel", variable_r6.name);
|
|
125
|
-
i0.ɵɵproperty("name", "varName_" + ɵ$index_75_r9)("disabled", ctx_r1.isRunning);
|
|
126
|
-
i0.ɵɵadvance(2);
|
|
127
|
-
i0.ɵɵconditional(variable_r6.type === "object" ? 4 : variable_r6.type === "boolean" ? 5 : 6);
|
|
128
|
-
i0.ɵɵadvance(4);
|
|
129
|
-
i0.ɵɵtwoWayProperty("ngModel", variable_r6.type);
|
|
130
|
-
i0.ɵɵproperty("name", "varType_" + ɵ$index_75_r9)("data", i0.ɵɵpureFunction4(18, _c4, i0.ɵɵpureFunction0(14, _c0), i0.ɵɵpureFunction0(15, _c1), i0.ɵɵpureFunction0(16, _c2), i0.ɵɵpureFunction0(17, _c3)))("valuePrimitive", true)("disabled", ctx_r1.isRunning);
|
|
131
|
-
i0.ɵɵadvance(2);
|
|
132
|
-
i0.ɵɵproperty("disabled", ctx_r1.isRunning);
|
|
133
|
-
} }
|
|
134
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
135
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
136
|
-
i0.ɵɵelementStart(0, "div", 20)(1, "div", 48)(2, "div");
|
|
137
|
-
i0.ɵɵtext(3, "Variable Name ");
|
|
138
|
-
i0.ɵɵelementStart(4, "span", 49);
|
|
139
|
-
i0.ɵɵtext(5, "*");
|
|
140
|
-
i0.ɵɵelementEnd()();
|
|
141
|
-
i0.ɵɵelementStart(6, "div");
|
|
142
|
-
i0.ɵɵtext(7, "Value");
|
|
143
|
-
i0.ɵɵelementEnd();
|
|
144
|
-
i0.ɵɵelementStart(8, "div");
|
|
145
|
-
i0.ɵɵtext(9, "Type");
|
|
146
|
-
i0.ɵɵelementEnd();
|
|
147
|
-
i0.ɵɵelementStart(10, "div");
|
|
148
|
-
i0.ɵɵtext(11, "Actions");
|
|
149
|
-
i0.ɵɵelementEnd()();
|
|
150
|
-
i0.ɵɵrepeaterCreate(12, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_For_13_Template, 12, 23, "div", 50, i0.ɵɵrepeaterTrackByIndex);
|
|
151
|
-
i0.ɵɵelementStart(14, "div", 51)(15, "kendo-button", 52);
|
|
152
|
-
i0.ɵɵlistener("click", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_Template_kendo_button_click_15_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.addDataContextVariable()); });
|
|
153
|
-
i0.ɵɵelement(16, "i", 53);
|
|
154
|
-
i0.ɵɵtext(17, " Add Variable ");
|
|
155
|
-
i0.ɵɵelementEnd()()();
|
|
156
|
-
} if (rf & 2) {
|
|
157
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
158
|
-
i0.ɵɵadvance(12);
|
|
159
|
-
i0.ɵɵrepeater(ctx_r1.dataContextVariables);
|
|
160
|
-
i0.ɵɵadvance(3);
|
|
161
|
-
i0.ɵɵproperty("disabled", ctx_r1.isRunning);
|
|
162
|
-
} }
|
|
163
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
164
|
-
const _r12 = i0.ɵɵgetCurrentView();
|
|
165
|
-
i0.ɵɵelementStart(0, "div", 21);
|
|
166
|
-
i0.ɵɵelement(1, "i", 66);
|
|
167
|
-
i0.ɵɵelementStart(2, "p", 67);
|
|
168
|
-
i0.ɵɵtext(3, "No variables defined yet");
|
|
169
|
-
i0.ɵɵelementEnd();
|
|
170
|
-
i0.ɵɵelementStart(4, "kendo-button", 68);
|
|
171
|
-
i0.ɵɵlistener("click", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_7_Template_kendo_button_click_4_listener() { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.addDataContextVariable()); });
|
|
172
|
-
i0.ɵɵelement(5, "i", 53);
|
|
173
|
-
i0.ɵɵtext(6, " Add First Variable ");
|
|
174
|
-
i0.ɵɵelementEnd()();
|
|
175
|
-
} if (rf & 2) {
|
|
176
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
177
|
-
i0.ɵɵadvance(4);
|
|
178
|
-
i0.ɵɵproperty("disabled", ctx_r1.isRunning);
|
|
179
|
-
} }
|
|
180
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
181
|
-
i0.ɵɵelementStart(0, "div", 22)(1, "div", 69);
|
|
182
|
-
i0.ɵɵelement(2, "i", 70);
|
|
183
|
-
i0.ɵɵelementStart(3, "span", 71);
|
|
184
|
-
i0.ɵɵtext(4, "Generated JSON:");
|
|
185
|
-
i0.ɵɵelementEnd()();
|
|
186
|
-
i0.ɵɵelementStart(5, "div", 72);
|
|
187
|
-
i0.ɵɵtext(6);
|
|
188
|
-
i0.ɵɵelementEnd()();
|
|
189
|
-
} if (rf & 2) {
|
|
190
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
191
|
-
i0.ɵɵadvance(6);
|
|
192
|
-
i0.ɵɵtextInterpolate(ctx_r1.dataContext);
|
|
193
|
-
} }
|
|
194
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
|
195
|
-
i0.ɵɵelementStart(0, "span", 44);
|
|
196
|
-
i0.ɵɵelement(1, "i", 73);
|
|
197
|
-
i0.ɵɵtext(2, " Execution Options ");
|
|
198
|
-
i0.ɵɵelementEnd();
|
|
199
|
-
} }
|
|
200
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_ng_template_49_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
201
|
-
i0.ɵɵelementStart(0, "span", 76);
|
|
202
|
-
i0.ɵɵtext(1);
|
|
203
|
-
i0.ɵɵelementEnd();
|
|
204
|
-
} if (rf & 2) {
|
|
205
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
206
|
-
i0.ɵɵstyleProp("background", ctx_r1.executionResult.success ? "#28a745" : "#dc3545");
|
|
207
|
-
i0.ɵɵadvance();
|
|
208
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r1.executionResult.success ? "Success" : "Error", " ");
|
|
209
|
-
} }
|
|
210
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_ng_template_49_Template(rf, ctx) { if (rf & 1) {
|
|
211
|
-
i0.ɵɵelementStart(0, "span", 44);
|
|
212
|
-
i0.ɵɵelement(1, "i", 74);
|
|
213
|
-
i0.ɵɵtext(2, " Execution Results ");
|
|
214
|
-
i0.ɵɵtemplate(3, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_ng_template_49_Conditional_3_Template, 2, 3, "span", 75);
|
|
215
|
-
i0.ɵɵelementEnd();
|
|
216
|
-
} if (rf & 2) {
|
|
217
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
218
|
-
i0.ɵɵadvance(3);
|
|
219
|
-
i0.ɵɵconditional(ctx_r1.executionResult ? 3 : -1);
|
|
220
|
-
} }
|
|
221
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_51_Template(rf, ctx) { if (rf & 1) {
|
|
222
|
-
i0.ɵɵelementStart(0, "div", 41);
|
|
223
|
-
i0.ɵɵelement(1, "i", 13);
|
|
224
|
-
i0.ɵɵelementStart(2, "span", 14);
|
|
225
|
-
i0.ɵɵtext(3, "Executing AI prompt...");
|
|
226
|
-
i0.ɵɵelementEnd()();
|
|
227
|
-
} }
|
|
228
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_52_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
229
|
-
i0.ɵɵelementStart(0, "div", 60)(1, "div", 78);
|
|
230
|
-
i0.ɵɵtext(2, "EXECUTION TIME");
|
|
231
|
-
i0.ɵɵelementEnd();
|
|
232
|
-
i0.ɵɵelementStart(3, "div", 82);
|
|
233
|
-
i0.ɵɵtext(4);
|
|
234
|
-
i0.ɵɵelementEnd()();
|
|
235
|
-
} if (rf & 2) {
|
|
236
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
237
|
-
i0.ɵɵadvance(4);
|
|
238
|
-
i0.ɵɵtextInterpolate1("", ctx_r1.executionResult.executionTimeMs, "ms");
|
|
239
|
-
} }
|
|
240
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_52_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
241
|
-
i0.ɵɵelementStart(0, "div", 60)(1, "div", 78);
|
|
242
|
-
i0.ɵɵtext(2, "TOKENS USED");
|
|
243
|
-
i0.ɵɵelementEnd();
|
|
244
|
-
i0.ɵɵelementStart(3, "div", 82);
|
|
245
|
-
i0.ɵɵtext(4);
|
|
246
|
-
i0.ɵɵelementEnd()();
|
|
247
|
-
} if (rf & 2) {
|
|
248
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
249
|
-
i0.ɵɵadvance(4);
|
|
250
|
-
i0.ɵɵtextInterpolate(ctx_r1.executionResult.tokensUsed);
|
|
251
|
-
} }
|
|
252
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_52_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
253
|
-
i0.ɵɵelementStart(0, "div", 60)(1, "div", 78);
|
|
254
|
-
i0.ɵɵtext(2, "RUN ID");
|
|
255
|
-
i0.ɵɵelementEnd();
|
|
256
|
-
i0.ɵɵelementStart(3, "div", 83);
|
|
257
|
-
i0.ɵɵtext(4);
|
|
258
|
-
i0.ɵɵelementEnd()();
|
|
259
|
-
} if (rf & 2) {
|
|
260
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
261
|
-
i0.ɵɵadvance(4);
|
|
262
|
-
i0.ɵɵtextInterpolate(ctx_r1.executionResult.promptRunId);
|
|
263
|
-
} }
|
|
264
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_52_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
265
|
-
i0.ɵɵelementStart(0, "div", 81)(1, "h6", 84);
|
|
266
|
-
i0.ɵɵelement(2, "i", 85);
|
|
267
|
-
i0.ɵɵtext(3, " Output ");
|
|
268
|
-
i0.ɵɵelementEnd();
|
|
269
|
-
i0.ɵɵelementStart(4, "div", 86);
|
|
270
|
-
i0.ɵɵtext(5);
|
|
271
|
-
i0.ɵɵelementEnd()();
|
|
272
|
-
} if (rf & 2) {
|
|
273
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
274
|
-
i0.ɵɵadvance(5);
|
|
275
|
-
i0.ɵɵtextInterpolate(ctx_r1.executionResult.output);
|
|
276
|
-
} }
|
|
277
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_52_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
278
|
-
i0.ɵɵelementStart(0, "div", 81)(1, "h6", 87);
|
|
279
|
-
i0.ɵɵelement(2, "i", 88);
|
|
280
|
-
i0.ɵɵtext(3, " Error ");
|
|
281
|
-
i0.ɵɵelementEnd();
|
|
282
|
-
i0.ɵɵelementStart(4, "div", 89);
|
|
283
|
-
i0.ɵɵtext(5);
|
|
284
|
-
i0.ɵɵelementEnd()();
|
|
285
|
-
} if (rf & 2) {
|
|
286
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
287
|
-
i0.ɵɵadvance(5);
|
|
288
|
-
i0.ɵɵtextInterpolate(ctx_r1.executionResult.error);
|
|
289
|
-
} }
|
|
290
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_52_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
291
|
-
i0.ɵɵelementStart(0, "div", 81)(1, "h6", 84);
|
|
292
|
-
i0.ɵɵelement(2, "i", 90);
|
|
293
|
-
i0.ɵɵtext(3, " Parsed Result ");
|
|
294
|
-
i0.ɵɵelementEnd();
|
|
295
|
-
i0.ɵɵelementStart(4, "div", 91);
|
|
296
|
-
i0.ɵɵtext(5);
|
|
297
|
-
i0.ɵɵelementEnd()();
|
|
298
|
-
} if (rf & 2) {
|
|
299
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
300
|
-
i0.ɵɵadvance(5);
|
|
301
|
-
i0.ɵɵtextInterpolate(ctx_r1.executionResult.parsedResult);
|
|
302
|
-
} }
|
|
303
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_52_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
304
|
-
i0.ɵɵelementStart(0, "div", 81)(1, "h6", 84);
|
|
305
|
-
i0.ɵɵelement(2, "i", 92);
|
|
306
|
-
i0.ɵɵtext(3, " Validation Result ");
|
|
307
|
-
i0.ɵɵelementEnd();
|
|
308
|
-
i0.ɵɵelementStart(4, "div", 93);
|
|
309
|
-
i0.ɵɵtext(5);
|
|
310
|
-
i0.ɵɵelementEnd()();
|
|
311
|
-
} if (rf & 2) {
|
|
312
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
313
|
-
i0.ɵɵadvance(5);
|
|
314
|
-
i0.ɵɵtextInterpolate(ctx_r1.executionResult.validationResult);
|
|
315
|
-
} }
|
|
316
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_52_Template(rf, ctx) { if (rf & 1) {
|
|
317
|
-
i0.ɵɵelementStart(0, "div", 42)(1, "div", 77)(2, "div", 60)(3, "div", 78);
|
|
318
|
-
i0.ɵɵtext(4, "STATUS");
|
|
319
|
-
i0.ɵɵelementEnd();
|
|
320
|
-
i0.ɵɵelementStart(5, "div", 79);
|
|
321
|
-
i0.ɵɵtext(6);
|
|
322
|
-
i0.ɵɵelementEnd()();
|
|
323
|
-
i0.ɵɵtemplate(7, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_52_Conditional_7_Template, 5, 1, "div", 60)(8, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_52_Conditional_8_Template, 5, 1, "div", 60)(9, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_52_Conditional_9_Template, 5, 1, "div", 60);
|
|
324
|
-
i0.ɵɵelementEnd();
|
|
325
|
-
i0.ɵɵelementStart(10, "div", 80);
|
|
326
|
-
i0.ɵɵtemplate(11, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_52_Conditional_11_Template, 6, 1, "div", 81)(12, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_52_Conditional_12_Template, 6, 1, "div", 81)(13, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_52_Conditional_13_Template, 6, 1, "div", 81)(14, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_52_Conditional_14_Template, 6, 1, "div", 81);
|
|
327
|
-
i0.ɵɵelementEnd()();
|
|
328
|
-
} if (rf & 2) {
|
|
329
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
330
|
-
i0.ɵɵadvance(5);
|
|
331
|
-
i0.ɵɵstyleProp("color", ctx_r1.executionResult.success ? "#28a745" : "#dc3545");
|
|
332
|
-
i0.ɵɵadvance();
|
|
333
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r1.executionResult.success ? "Success" : "Failed", " ");
|
|
334
|
-
i0.ɵɵadvance();
|
|
335
|
-
i0.ɵɵconditional(ctx_r1.executionResult.executionTimeMs ? 7 : -1);
|
|
336
|
-
i0.ɵɵadvance();
|
|
337
|
-
i0.ɵɵconditional(ctx_r1.executionResult.tokensUsed ? 8 : -1);
|
|
338
|
-
i0.ɵɵadvance();
|
|
339
|
-
i0.ɵɵconditional(ctx_r1.executionResult.promptRunId ? 9 : -1);
|
|
340
|
-
i0.ɵɵadvance(2);
|
|
341
|
-
i0.ɵɵconditional(ctx_r1.executionResult.success && ctx_r1.executionResult.output ? 11 : -1);
|
|
342
|
-
i0.ɵɵadvance();
|
|
343
|
-
i0.ɵɵconditional(ctx_r1.executionResult.error ? 12 : -1);
|
|
344
|
-
i0.ɵɵadvance();
|
|
345
|
-
i0.ɵɵconditional(ctx_r1.executionResult.parsedResult && ctx_r1.executionResult.parsedResult !== ctx_r1.executionResult.output ? 13 : -1);
|
|
346
|
-
i0.ɵɵadvance();
|
|
347
|
-
i0.ɵɵconditional(ctx_r1.executionResult.validationResult ? 14 : -1);
|
|
348
|
-
} }
|
|
349
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_53_Template(rf, ctx) { if (rf & 1) {
|
|
350
|
-
i0.ɵɵelementStart(0, "div", 43)(1, "div", 60);
|
|
351
|
-
i0.ɵɵelement(2, "i", 94);
|
|
352
|
-
i0.ɵɵelementStart(3, "p", 95);
|
|
353
|
-
i0.ɵɵtext(4, "No execution results yet. Run the prompt to see results here.");
|
|
354
|
-
i0.ɵɵelementEnd()()();
|
|
355
|
-
} }
|
|
356
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
357
|
-
const _r3 = i0.ɵɵgetCurrentView();
|
|
358
|
-
i0.ɵɵelementStart(0, "kendo-expansionpanel", 15);
|
|
359
|
-
i0.ɵɵtwoWayListener("expandedChange", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Template_kendo_expansionpanel_expandedChange_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.dataContextExpanded, $event) || (ctx_r1.dataContextExpanded = $event); return i0.ɵɵresetView($event); });
|
|
360
|
-
i0.ɵɵtemplate(1, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_ng_template_1_Template, 6, 1, "ng-template", 16);
|
|
361
|
-
i0.ɵɵelementStart(2, "div", 17)(3, "div", 18);
|
|
362
|
-
i0.ɵɵelement(4, "i", 19);
|
|
363
|
-
i0.ɵɵtext(5, " Define variables that will be available to the AI prompt during execution. These are converted to JSON format automatically. ");
|
|
364
|
-
i0.ɵɵelementEnd();
|
|
365
|
-
i0.ɵɵtemplate(6, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_6_Template, 18, 1, "div", 20)(7, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_7_Template, 7, 1, "div", 21)(8, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_8_Template, 7, 1, "div", 22);
|
|
366
|
-
i0.ɵɵelementEnd()();
|
|
367
|
-
i0.ɵɵelementStart(9, "kendo-expansionpanel", 15);
|
|
368
|
-
i0.ɵɵtwoWayListener("expandedChange", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Template_kendo_expansionpanel_expandedChange_9_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.optionsExpanded, $event) || (ctx_r1.optionsExpanded = $event); return i0.ɵɵresetView($event); });
|
|
369
|
-
i0.ɵɵtemplate(10, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_ng_template_10_Template, 3, 0, "ng-template", 16);
|
|
370
|
-
i0.ɵɵelementStart(11, "div", 17)(12, "div", 23)(13, "div", 24)(14, "label", 25);
|
|
371
|
-
i0.ɵɵelement(15, "i", 26);
|
|
372
|
-
i0.ɵɵtext(16, " AI Model Override ");
|
|
373
|
-
i0.ɵɵelementEnd();
|
|
374
|
-
i0.ɵɵelementStart(17, "kendo-dropdownlist", 27);
|
|
375
|
-
i0.ɵɵtwoWayListener("ngModelChange", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Template_kendo_dropdownlist_ngModelChange_17_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.executionOptions.modelId, $event) || (ctx_r1.executionOptions.modelId = $event); return i0.ɵɵresetView($event); });
|
|
376
|
-
i0.ɵɵelementEnd();
|
|
377
|
-
i0.ɵɵelementStart(18, "div", 28);
|
|
378
|
-
i0.ɵɵtext(19, " Optional: Override the prompt's configured models ");
|
|
379
|
-
i0.ɵɵelementEnd()();
|
|
380
|
-
i0.ɵɵelementStart(20, "div", 24)(21, "label", 25);
|
|
381
|
-
i0.ɵɵelement(22, "i", 29);
|
|
382
|
-
i0.ɵɵtext(23, " AI Vendor Override ");
|
|
383
|
-
i0.ɵɵelementEnd();
|
|
384
|
-
i0.ɵɵelementStart(24, "kendo-dropdownlist", 30);
|
|
385
|
-
i0.ɵɵtwoWayListener("ngModelChange", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Template_kendo_dropdownlist_ngModelChange_24_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.executionOptions.vendorId, $event) || (ctx_r1.executionOptions.vendorId = $event); return i0.ɵɵresetView($event); });
|
|
386
|
-
i0.ɵɵelementEnd();
|
|
387
|
-
i0.ɵɵelementStart(25, "div", 28);
|
|
388
|
-
i0.ɵɵtext(26, " Optional: Override the vendor for model inference ");
|
|
389
|
-
i0.ɵɵelementEnd()();
|
|
390
|
-
i0.ɵɵelementStart(27, "div", 24)(28, "label", 25);
|
|
391
|
-
i0.ɵɵelement(29, "i", 31);
|
|
392
|
-
i0.ɵɵtext(30, " Response Format ");
|
|
393
|
-
i0.ɵɵelementEnd();
|
|
394
|
-
i0.ɵɵelementStart(31, "kendo-dropdownlist", 32);
|
|
395
|
-
i0.ɵɵtwoWayListener("ngModelChange", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Template_kendo_dropdownlist_ngModelChange_31_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.selectedResponseFormat, $event) || (ctx_r1.selectedResponseFormat = $event); return i0.ɵɵresetView($event); });
|
|
396
|
-
i0.ɵɵelementEnd();
|
|
397
|
-
i0.ɵɵelementStart(32, "div", 28);
|
|
398
|
-
i0.ɵɵtext(33, " Expected format for AI response (defaults to prompt setting) ");
|
|
399
|
-
i0.ɵɵelementEnd()();
|
|
400
|
-
i0.ɵɵelementStart(34, "div", 24)(35, "label", 25);
|
|
401
|
-
i0.ɵɵelement(36, "i", 33);
|
|
402
|
-
i0.ɵɵtext(37, " Configuration ID ");
|
|
403
|
-
i0.ɵɵelementEnd();
|
|
404
|
-
i0.ɵɵelementStart(38, "kendo-textbox", 34);
|
|
405
|
-
i0.ɵɵtwoWayListener("ngModelChange", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Template_kendo_textbox_ngModelChange_38_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.executionOptions.configurationId, $event) || (ctx_r1.executionOptions.configurationId = $event); return i0.ɵɵresetView($event); });
|
|
406
|
-
i0.ɵɵelementEnd();
|
|
407
|
-
i0.ɵɵelementStart(39, "div", 28);
|
|
408
|
-
i0.ɵɵtext(40, " Environment-specific configuration identifier ");
|
|
409
|
-
i0.ɵɵelementEnd()();
|
|
410
|
-
i0.ɵɵelementStart(41, "div", 24)(42, "label", 35)(43, "kendo-checkbox", 36);
|
|
411
|
-
i0.ɵɵtwoWayListener("ngModelChange", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Template_kendo_checkbox_ngModelChange_43_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.executionOptions.skipValidation, $event) || (ctx_r1.executionOptions.skipValidation = $event); return i0.ɵɵresetView($event); });
|
|
412
|
-
i0.ɵɵelementEnd();
|
|
413
|
-
i0.ɵɵelement(44, "i", 37);
|
|
414
|
-
i0.ɵɵtext(45, " Skip Output Validation ");
|
|
415
|
-
i0.ɵɵelementEnd();
|
|
416
|
-
i0.ɵɵelementStart(46, "div", 38);
|
|
417
|
-
i0.ɵɵtext(47, " Bypass output format validation for faster execution ");
|
|
418
|
-
i0.ɵɵelementEnd()()()()();
|
|
419
|
-
i0.ɵɵelementStart(48, "kendo-expansionpanel", 39);
|
|
420
|
-
i0.ɵɵtwoWayListener("expandedChange", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Template_kendo_expansionpanel_expandedChange_48_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.resultsExpanded, $event) || (ctx_r1.resultsExpanded = $event); return i0.ɵɵresetView($event); });
|
|
421
|
-
i0.ɵɵtemplate(49, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_ng_template_49_Template, 4, 1, "ng-template", 16);
|
|
422
|
-
i0.ɵɵelementStart(50, "div", 40);
|
|
423
|
-
i0.ɵɵtemplate(51, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_51_Template, 4, 0, "div", 41)(52, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_52_Template, 15, 10, "div", 42)(53, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Conditional_53_Template, 5, 0, "div", 43);
|
|
424
|
-
i0.ɵɵelementEnd()();
|
|
425
|
-
} if (rf & 2) {
|
|
426
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
427
|
-
i0.ɵɵtwoWayProperty("expanded", ctx_r1.dataContextExpanded);
|
|
428
|
-
i0.ɵɵadvance(6);
|
|
429
|
-
i0.ɵɵconditional(ctx_r1.dataContextVariables.length > 0 ? 6 : 7);
|
|
430
|
-
i0.ɵɵadvance(2);
|
|
431
|
-
i0.ɵɵconditional(ctx_r1.dataContext ? 8 : -1);
|
|
432
|
-
i0.ɵɵadvance();
|
|
433
|
-
i0.ɵɵtwoWayProperty("expanded", ctx_r1.optionsExpanded);
|
|
434
|
-
i0.ɵɵadvance(8);
|
|
435
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.executionOptions.modelId);
|
|
436
|
-
i0.ɵɵproperty("data", ctx_r1.availableModels)("valuePrimitive", true)("filterable", true)("disabled", ctx_r1.isRunning);
|
|
437
|
-
i0.ɵɵadvance(7);
|
|
438
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.executionOptions.vendorId);
|
|
439
|
-
i0.ɵɵproperty("data", ctx_r1.availableVendors)("valuePrimitive", true)("filterable", true)("disabled", ctx_r1.isRunning);
|
|
440
|
-
i0.ɵɵadvance(7);
|
|
441
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.selectedResponseFormat);
|
|
442
|
-
i0.ɵɵproperty("data", ctx_r1.responseFormatOptions)("valuePrimitive", true)("disabled", ctx_r1.isRunning);
|
|
443
|
-
i0.ɵɵadvance(7);
|
|
444
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.executionOptions.configurationId);
|
|
445
|
-
i0.ɵɵproperty("disabled", ctx_r1.isRunning);
|
|
446
|
-
i0.ɵɵadvance(5);
|
|
447
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.executionOptions.skipValidation);
|
|
448
|
-
i0.ɵɵproperty("disabled", ctx_r1.isRunning);
|
|
449
|
-
i0.ɵɵadvance(5);
|
|
450
|
-
i0.ɵɵtwoWayProperty("expanded", ctx_r1.resultsExpanded);
|
|
451
|
-
i0.ɵɵadvance(3);
|
|
452
|
-
i0.ɵɵconditional(ctx_r1.isRunning ? 51 : ctx_r1.executionResult ? 52 : 53);
|
|
453
|
-
} }
|
|
454
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
455
|
-
const _r13 = i0.ɵɵgetCurrentView();
|
|
456
|
-
i0.ɵɵelementStart(0, "kendo-button", 96);
|
|
457
|
-
i0.ɵɵlistener("click", function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_15_Template_kendo_button_click_0_listener() { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.saveResults()); });
|
|
458
|
-
i0.ɵɵelement(1, "i", 97);
|
|
459
|
-
i0.ɵɵtext(2, " Save Results ");
|
|
460
|
-
i0.ɵɵelementEnd();
|
|
461
|
-
} }
|
|
462
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
463
|
-
i0.ɵɵelement(0, "i", 98);
|
|
464
|
-
i0.ɵɵtext(1, " Running... ");
|
|
465
|
-
} }
|
|
466
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
467
|
-
i0.ɵɵelement(0, "i", 99);
|
|
468
|
-
i0.ɵɵtext(1, " Run Prompt ");
|
|
469
|
-
} }
|
|
470
|
-
function AIPromptExecutionDialogComponent_kendo_dialog_0_Template(rf, ctx) { if (rf & 1) {
|
|
471
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
472
|
-
i0.ɵɵelementStart(0, "kendo-dialog", 1);
|
|
473
|
-
i0.ɵɵlistener("close", function AIPromptExecutionDialogComponent_kendo_dialog_0_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.close()); });
|
|
474
|
-
i0.ɵɵelementStart(1, "div", 2)(2, "div", 3)(3, "div", 4);
|
|
475
|
-
i0.ɵɵelement(4, "i", 5);
|
|
476
|
-
i0.ɵɵelementStart(5, "h5", 6);
|
|
477
|
-
i0.ɵɵtext(6, "AI Prompt Execution");
|
|
478
|
-
i0.ɵɵelementEnd();
|
|
479
|
-
i0.ɵɵtemplate(7, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_7_Template, 2, 1, "span", 7);
|
|
480
|
-
i0.ɵɵelementEnd();
|
|
481
|
-
i0.ɵɵelementStart(8, "p", 8);
|
|
482
|
-
i0.ɵɵtext(9, " Define variables for the AI prompt to process. Each variable will be available as data context during execution. ");
|
|
483
|
-
i0.ɵɵelementEnd()();
|
|
484
|
-
i0.ɵɵtemplate(10, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_10_Template, 4, 0, "div", 9)(11, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_11_Template, 54, 24);
|
|
485
|
-
i0.ɵɵelementEnd();
|
|
486
|
-
i0.ɵɵelementStart(12, "kendo-dialog-actions")(13, "kendo-button", 10);
|
|
487
|
-
i0.ɵɵlistener("click", function AIPromptExecutionDialogComponent_kendo_dialog_0_Template_kendo_button_click_13_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.close()); });
|
|
488
|
-
i0.ɵɵtext(14, " Close ");
|
|
489
|
-
i0.ɵɵelementEnd();
|
|
490
|
-
i0.ɵɵtemplate(15, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_15_Template, 3, 0, "kendo-button", 11);
|
|
491
|
-
i0.ɵɵelementStart(16, "kendo-button", 12);
|
|
492
|
-
i0.ɵɵlistener("click", function AIPromptExecutionDialogComponent_kendo_dialog_0_Template_kendo_button_click_16_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.runAIPrompt()); });
|
|
493
|
-
i0.ɵɵtemplate(17, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_17_Template, 2, 0)(18, AIPromptExecutionDialogComponent_kendo_dialog_0_Conditional_18_Template, 2, 0);
|
|
494
|
-
i0.ɵɵelementEnd()()();
|
|
495
|
-
} if (rf & 2) {
|
|
496
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
497
|
-
i0.ɵɵproperty("minWidth", 700)("width", 900)("height", 850)("title", "Execute AI Prompt: " + ((ctx_r1.aiPrompt == null ? null : ctx_r1.aiPrompt.Name) || "Unknown"));
|
|
498
|
-
i0.ɵɵadvance(7);
|
|
499
|
-
i0.ɵɵconditional((ctx_r1.aiPrompt == null ? null : ctx_r1.aiPrompt.ParallelizationMode) && (ctx_r1.aiPrompt == null ? null : ctx_r1.aiPrompt.ParallelizationMode) !== "None" ? 7 : -1);
|
|
500
|
-
i0.ɵɵadvance(3);
|
|
501
|
-
i0.ɵɵconditional(ctx_r1.isLoading ? 10 : 11);
|
|
502
|
-
i0.ɵɵadvance(5);
|
|
503
|
-
i0.ɵɵconditional(ctx_r1.executionResult ? 15 : -1);
|
|
504
|
-
i0.ɵɵadvance();
|
|
505
|
-
i0.ɵɵproperty("disabled", ctx_r1.isRunning || ctx_r1.isLoading);
|
|
506
|
-
i0.ɵɵadvance();
|
|
507
|
-
i0.ɵɵconditional(ctx_r1.isRunning ? 17 : 18);
|
|
508
|
-
} }
|
|
509
|
-
export class AIPromptExecutionDialogComponent {
|
|
510
|
-
get isVisible() {
|
|
511
|
-
return this._isVisible;
|
|
512
|
-
}
|
|
513
|
-
set isVisible(value) {
|
|
514
|
-
const wasVisible = this._isVisible;
|
|
515
|
-
this._isVisible = value;
|
|
516
|
-
// Reset dialog state when opening
|
|
517
|
-
if (value && !wasVisible) {
|
|
518
|
-
this.resetDialogState();
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
constructor() {
|
|
522
|
-
this.aiPrompt = null;
|
|
523
|
-
this._isVisible = false;
|
|
524
|
-
this.isVisibleChange = new EventEmitter();
|
|
525
|
-
this.onClose = new EventEmitter();
|
|
526
|
-
this.dataContext = '';
|
|
527
|
-
this.dataContextVariables = [];
|
|
528
|
-
this.executionOptions = {};
|
|
529
|
-
this.availableModels = [];
|
|
530
|
-
this.availableVendors = [];
|
|
531
|
-
this.isLoading = false;
|
|
532
|
-
this.isRunning = false;
|
|
533
|
-
this.executionResult = null;
|
|
534
|
-
// Response format options
|
|
535
|
-
this.selectedResponseFormat = 'Any';
|
|
536
|
-
this.responseFormatOptions = [
|
|
537
|
-
{ text: 'Any', value: 'Any' },
|
|
538
|
-
{ text: 'Text', value: 'Text' },
|
|
539
|
-
{ text: 'Markdown', value: 'Markdown' },
|
|
540
|
-
{ text: 'JSON', value: 'JSON' },
|
|
541
|
-
{ text: 'Model Specific', value: 'ModelSpecific' }
|
|
542
|
-
];
|
|
543
|
-
// UI State
|
|
544
|
-
this.dataContextExpanded = true;
|
|
545
|
-
this.optionsExpanded = false;
|
|
546
|
-
this.resultsExpanded = false;
|
|
547
|
-
}
|
|
548
|
-
ngOnInit() { }
|
|
549
|
-
/**
|
|
550
|
-
* Resets the dialog to initial state
|
|
551
|
-
*/
|
|
552
|
-
resetDialogState() {
|
|
553
|
-
this.dataContext = '';
|
|
554
|
-
this.dataContextVariables = [];
|
|
555
|
-
this.executionResult = null;
|
|
556
|
-
this.executionOptions = {};
|
|
557
|
-
this.dataContextExpanded = true;
|
|
558
|
-
this.optionsExpanded = false;
|
|
559
|
-
this.resultsExpanded = false;
|
|
560
|
-
// Set default response format from prompt with slight delay for Kendo dropdown
|
|
561
|
-
if (this.aiPrompt) {
|
|
562
|
-
setTimeout(() => {
|
|
563
|
-
this.selectedResponseFormat = this.aiPrompt?.ResponseFormat || 'Any';
|
|
564
|
-
}, 0);
|
|
565
|
-
}
|
|
566
|
-
// Initialize with one default variable
|
|
567
|
-
this.addDataContextVariable();
|
|
568
|
-
if (this.aiPrompt?.ID) {
|
|
569
|
-
this.loadDialogData();
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
/**
|
|
573
|
-
* Loads available models for the execution dialog
|
|
574
|
-
*/
|
|
575
|
-
async loadDialogData() {
|
|
576
|
-
this.isLoading = true;
|
|
577
|
-
try {
|
|
578
|
-
await this.loadAvailableModels();
|
|
579
|
-
await this.loadAvailableVendors();
|
|
580
|
-
// Set default execution options based on AI Prompt configuration
|
|
581
|
-
this.executionOptions = {
|
|
582
|
-
parallelizationMode: this.aiPrompt?.ParallelizationMode || 'None',
|
|
583
|
-
skipValidation: false
|
|
584
|
-
};
|
|
585
|
-
}
|
|
586
|
-
catch (error) {
|
|
587
|
-
console.error('Error loading dialog data:', error);
|
|
588
|
-
MJNotificationService.Instance.CreateSimpleNotification('Error loading prompt data', 'error');
|
|
589
|
-
}
|
|
590
|
-
finally {
|
|
591
|
-
this.isLoading = false;
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
/**
|
|
595
|
-
* Loads available AI models for the prompt
|
|
596
|
-
*/
|
|
597
|
-
async loadAvailableModels() {
|
|
598
|
-
try {
|
|
599
|
-
const rv = new RunView();
|
|
600
|
-
// Filter by the prompt's AIModelTypeID if it exists
|
|
601
|
-
let extraFilter = `IsActive=1`;
|
|
602
|
-
if (this.aiPrompt?.AIModelTypeID) {
|
|
603
|
-
extraFilter += ` AND AIModelTypeID='${this.aiPrompt.AIModelTypeID}'`;
|
|
604
|
-
}
|
|
605
|
-
const result = await rv.RunView({
|
|
606
|
-
EntityName: 'AI Models',
|
|
607
|
-
ExtraFilter: extraFilter,
|
|
608
|
-
OrderBy: 'PowerRank DESC, Name ASC',
|
|
609
|
-
ResultType: 'entity_object'
|
|
610
|
-
});
|
|
611
|
-
// Add a blank option at the beginning
|
|
612
|
-
this.availableModels = [
|
|
613
|
-
{ ID: '', Name: '-- Use Default Model --' },
|
|
614
|
-
...(result.Results || [])
|
|
615
|
-
];
|
|
616
|
-
}
|
|
617
|
-
catch (error) {
|
|
618
|
-
console.error('Error loading AI models:', error);
|
|
619
|
-
throw error;
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
/**
|
|
623
|
-
* Loads available AI vendors for the prompt
|
|
624
|
-
*/
|
|
625
|
-
async loadAvailableVendors() {
|
|
626
|
-
try {
|
|
627
|
-
const rv = new RunView();
|
|
628
|
-
const result = await rv.RunView({
|
|
629
|
-
EntityName: 'AI Vendors',
|
|
630
|
-
ExtraFilter: `IsActive=1`,
|
|
631
|
-
OrderBy: 'Name ASC',
|
|
632
|
-
ResultType: 'entity_object'
|
|
633
|
-
});
|
|
634
|
-
this.availableVendors = result.Results || [];
|
|
635
|
-
}
|
|
636
|
-
catch (error) {
|
|
637
|
-
console.error('Error loading AI vendors:', error);
|
|
638
|
-
throw error;
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
/**
|
|
642
|
-
* Adds a new data context variable
|
|
643
|
-
*/
|
|
644
|
-
addDataContextVariable() {
|
|
645
|
-
this.dataContextVariables.push({
|
|
646
|
-
name: '',
|
|
647
|
-
value: '',
|
|
648
|
-
type: 'string'
|
|
649
|
-
});
|
|
650
|
-
this.updateDataContextFromVariables();
|
|
651
|
-
}
|
|
652
|
-
/**
|
|
653
|
-
* Removes a data context variable
|
|
654
|
-
*/
|
|
655
|
-
removeDataContextVariable(index) {
|
|
656
|
-
if (index >= 0 && index < this.dataContextVariables.length) {
|
|
657
|
-
this.dataContextVariables.splice(index, 1);
|
|
658
|
-
this.updateDataContextFromVariables();
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
/**
|
|
662
|
-
* Updates the JSON data context from variables
|
|
663
|
-
*/
|
|
664
|
-
updateDataContextFromVariables() {
|
|
665
|
-
const context = {};
|
|
666
|
-
for (const variable of this.dataContextVariables) {
|
|
667
|
-
if (variable.name?.trim()) {
|
|
668
|
-
let value = variable.value;
|
|
669
|
-
// Convert value based on type
|
|
670
|
-
switch (variable.type) {
|
|
671
|
-
case 'number':
|
|
672
|
-
value = value ? parseFloat(value) : 0;
|
|
673
|
-
break;
|
|
674
|
-
case 'boolean':
|
|
675
|
-
value = value === 'true';
|
|
676
|
-
break;
|
|
677
|
-
case 'object':
|
|
678
|
-
try {
|
|
679
|
-
value = value ? JSON.parse(value) : {};
|
|
680
|
-
}
|
|
681
|
-
catch {
|
|
682
|
-
value = variable.value; // Keep as string if invalid JSON
|
|
683
|
-
}
|
|
684
|
-
break;
|
|
685
|
-
default:
|
|
686
|
-
value = variable.value || '';
|
|
687
|
-
}
|
|
688
|
-
context[variable.name.trim()] = value;
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
|
-
this.dataContext = Object.keys(context).length > 0 ? JSON.stringify(context, null, 2) : '';
|
|
692
|
-
}
|
|
693
|
-
/**
|
|
694
|
-
* Validates that at least one variable has a name
|
|
695
|
-
*/
|
|
696
|
-
validateDataContext() {
|
|
697
|
-
const hasValidVariable = this.dataContextVariables.some(v => v.name?.trim());
|
|
698
|
-
if (!hasValidVariable) {
|
|
699
|
-
MJNotificationService.Instance.CreateSimpleNotification('Please provide at least one variable name for the AI prompt to process.', 'warning', 4000);
|
|
700
|
-
return false;
|
|
701
|
-
}
|
|
702
|
-
return true;
|
|
703
|
-
}
|
|
704
|
-
/**
|
|
705
|
-
* Executes the AI prompt
|
|
706
|
-
*/
|
|
707
|
-
async runAIPrompt() {
|
|
708
|
-
if (!this.aiPrompt?.ID)
|
|
709
|
-
return;
|
|
710
|
-
// Validate data context
|
|
711
|
-
if (!this.validateDataContext()) {
|
|
712
|
-
return;
|
|
713
|
-
}
|
|
714
|
-
// Update data context from variables before execution
|
|
715
|
-
this.updateDataContextFromVariables();
|
|
716
|
-
this.isRunning = true;
|
|
717
|
-
this.executionResult = null;
|
|
718
|
-
try {
|
|
719
|
-
// Get GraphQL data provider
|
|
720
|
-
const dataProvider = Metadata.Provider;
|
|
721
|
-
// Execute the RunAIPrompt GraphQL mutation
|
|
722
|
-
const query = `
|
|
723
|
-
mutation RunAIPrompt($promptId: String!, $data: String, $modelId: String, $vendorId: String, $configurationId: String, $skipValidation: Boolean, $templateData: String, $responseFormat: String) {
|
|
724
|
-
RunAIPrompt(promptId: $promptId, data: $data, modelId: $modelId, vendorId: $vendorId, configurationId: $configurationId, skipValidation: $skipValidation, templateData: $templateData, responseFormat: $responseFormat) {
|
|
725
|
-
success
|
|
726
|
-
output
|
|
727
|
-
parsedResult
|
|
728
|
-
error
|
|
729
|
-
executionTimeMs
|
|
730
|
-
tokensUsed
|
|
731
|
-
promptRunId
|
|
732
|
-
rawResult
|
|
733
|
-
validationResult
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
`;
|
|
737
|
-
const variables = {
|
|
738
|
-
promptId: this.aiPrompt.ID,
|
|
739
|
-
data: this.dataContext,
|
|
740
|
-
modelId: this.executionOptions.modelId,
|
|
741
|
-
vendorId: this.executionOptions.vendorId,
|
|
742
|
-
configurationId: this.executionOptions.configurationId,
|
|
743
|
-
skipValidation: this.executionOptions.skipValidation,
|
|
744
|
-
templateData: null, // Could be extended for additional template context
|
|
745
|
-
responseFormat: this.selectedResponseFormat || undefined
|
|
746
|
-
};
|
|
747
|
-
const result = await dataProvider.ExecuteGQL(query, variables);
|
|
748
|
-
if (result?.RunAIPrompt) {
|
|
749
|
-
this.executionResult = result.RunAIPrompt;
|
|
750
|
-
// Collapse data context and expand results after execution
|
|
751
|
-
this.dataContextExpanded = false;
|
|
752
|
-
this.resultsExpanded = true;
|
|
753
|
-
if (this.executionResult?.success) {
|
|
754
|
-
MJNotificationService.Instance.CreateSimpleNotification(`AI Prompt executed successfully in ${this.executionResult.executionTimeMs}ms`, 'success', 4000);
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
else {
|
|
758
|
-
throw new Error('No result returned from AI prompt execution');
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
catch (error) {
|
|
762
|
-
console.error('AI Prompt execution error:', error);
|
|
763
|
-
this.executionResult = {
|
|
764
|
-
success: false,
|
|
765
|
-
error: error.message || 'Unknown error occurred'
|
|
766
|
-
};
|
|
767
|
-
// Still collapse data context and expand results on error
|
|
768
|
-
this.dataContextExpanded = false;
|
|
769
|
-
this.resultsExpanded = true;
|
|
770
|
-
}
|
|
771
|
-
finally {
|
|
772
|
-
this.isRunning = false;
|
|
773
|
-
}
|
|
774
|
-
}
|
|
775
|
-
/**
|
|
776
|
-
* Saves execution results to file
|
|
777
|
-
*/
|
|
778
|
-
saveResults() {
|
|
779
|
-
if (!this.executionResult)
|
|
780
|
-
return;
|
|
781
|
-
const timestamp = new Date().toISOString().replace(/[:.]/g, '-');
|
|
782
|
-
const filename = `ai-prompt-result-${this.aiPrompt?.Name?.replace(/[^a-zA-Z0-9]/g, '-')}-${timestamp}.json`;
|
|
783
|
-
const resultData = {
|
|
784
|
-
aiPrompt: {
|
|
785
|
-
id: this.aiPrompt?.ID,
|
|
786
|
-
name: this.aiPrompt?.Name,
|
|
787
|
-
parallelizationMode: this.aiPrompt?.ParallelizationMode
|
|
788
|
-
},
|
|
789
|
-
executionOptions: this.executionOptions,
|
|
790
|
-
dataContext: this.dataContext,
|
|
791
|
-
result: this.executionResult,
|
|
792
|
-
timestamp: new Date().toISOString()
|
|
793
|
-
};
|
|
794
|
-
const blob = new Blob([JSON.stringify(resultData, null, 2)], { type: 'application/json' });
|
|
795
|
-
const url = window.URL.createObjectURL(blob);
|
|
796
|
-
const link = document.createElement('a');
|
|
797
|
-
link.href = url;
|
|
798
|
-
link.download = filename;
|
|
799
|
-
link.click();
|
|
800
|
-
window.URL.revokeObjectURL(url);
|
|
801
|
-
}
|
|
802
|
-
/**
|
|
803
|
-
* Closes the dialog
|
|
804
|
-
*/
|
|
805
|
-
close() {
|
|
806
|
-
this._isVisible = false;
|
|
807
|
-
this.isVisibleChange.emit(false);
|
|
808
|
-
this.onClose.emit();
|
|
809
|
-
}
|
|
810
|
-
static { this.ɵfac = function AIPromptExecutionDialogComponent_Factory(t) { return new (t || AIPromptExecutionDialogComponent)(); }; }
|
|
811
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIPromptExecutionDialogComponent, selectors: [["mj-ai-prompt-execution-dialog"]], inputs: { aiPrompt: "aiPrompt", isVisible: "isVisible" }, outputs: { isVisibleChange: "isVisibleChange", onClose: "onClose" }, decls: 1, vars: 1, consts: [[3, "minWidth", "width", "height", "title", "close", 4, "ngIf"], [3, "close", "minWidth", "width", "height", "title"], [1, "dialog-content", 2, "display", "flex", "flex-direction", "column", "height", "100%", "font-family", "'Segoe UI', Tahoma, Geneva, Verdana, sans-serif"], [1, "header-section", 2, "margin-bottom", "20px", "padding-bottom", "16px", "border-bottom", "2px solid #e9ecef"], [2, "display", "flex", "align-items", "center", "gap", "12px", "margin-bottom", "8px"], [1, "fa-solid", "fa-robot", 2, "color", "#6f42c1", "font-size", "1.2em"], [2, "margin", "0", "color", "#495057", "font-weight", "600"], [1, "badge", 2, "background", "#6f42c1", "color", "white", "padding", "3px 8px", "border-radius", "12px", "font-size", "0.7em"], [2, "margin", "0", "color", "#6c757d", "font-size", "0.9em"], [1, "loading-state", 2, "display", "flex", "align-items", "center", "justify-content", "center", "padding", "40px"], ["fillMode", "outline", 3, "click"], ["fillMode", "outline", "themeColor", "info"], ["themeColor", "primary", 3, "click", "disabled"], [1, "fa-solid", "fa-spinner", "fa-spin", 2, "font-size", "24px", "color", "#6c757d", "margin-right", "12px"], [2, "color", "#6c757d"], [2, "margin-bottom", "16px", "flex-shrink", "0", 3, "expandedChange", "expanded"], ["kendoExpansionPanelTitleDirective", ""], [2, "padding", "12px 0"], [2, "margin-bottom", "12px", "color", "#6c757d", "font-size", "0.85em"], [1, "fa-solid", "fa-info-circle"], [2, "border", "1px solid #dee2e6", "border-radius", "6px", "background", "#f8f9fa"], [2, "text-align", "center", "padding", "20px", "color", "#6c757d"], [2, "margin-top", "16px"], [2, "display", "grid", "grid-template-columns", "1fr 1fr", "gap", "16px"], [1, "option-group"], [2, "display", "block", "font-weight", "500", "margin-bottom", "6px", "color", "#495057", "font-size", "0.9em"], [1, "fa-solid", "fa-microchip", 2, "margin-right", "6px", "color", "#6c757d"], ["textField", "Name", "valueField", "ID", "placeholder", "Use prompt's configured models...", 2, "width", "100%", 3, "ngModelChange", "ngModel", "data", "valuePrimitive", "filterable", "disabled"], [2, "margin-top", "4px", "font-size", "0.75em", "color", "#6c757d"], [1, "fa-solid", "fa-server", 2, "margin-right", "6px", "color", "#6c757d"], ["textField", "Name", "valueField", "ID", "placeholder", "Use prompt's configured vendors...", 2, "width", "100%", 3, "ngModelChange", "ngModel", "data", "valuePrimitive", "filterable", "disabled"], [1, "fa-solid", "fa-file-alt", 2, "margin-right", "6px", "color", "#6c757d"], ["textField", "text", "valueField", "value", "placeholder", "Select format...", 2, "width", "100%", 3, "ngModelChange", "ngModel", "data", "valuePrimitive", "disabled"], [1, "fa-solid", "fa-gear", 2, "margin-right", "6px", "color", "#6c757d"], ["placeholder", "Optional configuration identifier...", 2, "width", "100%", 3, "ngModelChange", "ngModel", "disabled"], [2, "display", "flex", "align-items", "center", "font-weight", "500", "color", "#495057", "font-size", "0.9em"], [3, "ngModelChange", "ngModel", "disabled"], [1, "fa-solid", "fa-shield-alt", 2, "margin-right", "6px", "color", "#6c757d"], [2, "margin-top", "4px", "margin-left", "24px", "font-size", "0.75em", "color", "#6c757d"], [2, "margin-bottom", "16px", "flex", "1", "display", "flex", "flex-direction", "column", 3, "expandedChange", "expanded"], [2, "padding", "12px 0", "flex", "1", "display", "flex", "flex-direction", "column"], [1, "loading-state", 2, "display", "flex", "align-items", "center", "justify-content", "center", "padding", "40px", "flex", "1"], [2, "flex", "1", "display", "flex", "flex-direction", "column"], [2, "display", "flex", "align-items", "center", "justify-content", "center", "padding", "40px", "color", "#6c757d", "flex", "1"], [2, "display", "flex", "align-items", "center", "gap", "8px", "font-weight", "600"], [1, "fa-solid", "fa-database", 2, "color", "#6c757d"], [2, "color", "#dc3545", "font-weight", "bold"], [1, "badge", 2, "background", "#17a2b8", "color", "white", "padding", "2px 6px", "border-radius", "10px", "font-size", "0.7em"], [2, "display", "grid", "grid-template-columns", "200px 1fr 120px 60px", "gap", "12px", "padding", "12px 16px", "background", "#e9ecef", "font-weight", "600", "font-size", "0.85em", "color", "#495057", "border-bottom", "1px solid #dee2e6"], [2, "color", "#dc3545"], [2, "display", "grid", "grid-template-columns", "200px 1fr 120px 60px", "gap", "12px", "padding", "12px 16px", "border-bottom", "1px solid #e9ecef", "align-items", "center", 3, "background", "border-left"], [2, "padding", "12px 16px", "text-align", "center", "background", "white", "border-top", "1px solid #dee2e6"], ["fillMode", "outline", "themeColor", "success", "size", "small", 3, "click", "disabled"], [1, "fa-solid", "fa-plus"], [2, "display", "grid", "grid-template-columns", "200px 1fr 120px 60px", "gap", "12px", "padding", "12px 16px", "border-bottom", "1px solid #e9ecef", "align-items", "center"], ["placeholder", "Variable name...", 2, "width", "100%", "font-size", "0.9em", 3, "ngModelChange", "valueChange", "ngModel", "name", "disabled"], ["placeholder", "JSON object...", 2, "width", "100%", "font-size", "0.85em", "font-family", "'Courier New', monospace", 3, "ngModel", "name", "rows", "disabled"], ["textField", "text", "valueField", "value", 2, "width", "100%", "font-size", "0.9em", 3, "ngModel", "name", "data", "valuePrimitive", "disabled"], [2, "width", "100%", "font-size", "0.9em", 3, "ngModel", "name", "placeholder", "disabled"], ["textField", "text", "valueField", "value", 2, "width", "100%", "font-size", "0.85em", 3, "ngModelChange", "valueChange", "ngModel", "name", "data", "valuePrimitive", "disabled"], [2, "text-align", "center"], ["fillMode", "flat", "themeColor", "error", "size", "small", "title", "Remove variable", 3, "click", "disabled"], [1, "fa-solid", "fa-times"], ["placeholder", "JSON object...", 2, "width", "100%", "font-size", "0.85em", "font-family", "'Courier New', monospace", 3, "ngModelChange", "valueChange", "ngModel", "name", "rows", "disabled"], ["textField", "text", "valueField", "value", 2, "width", "100%", "font-size", "0.9em", 3, "ngModelChange", "valueChange", "ngModel", "name", "data", "valuePrimitive", "disabled"], [2, "width", "100%", "font-size", "0.9em", 3, "ngModelChange", "valueChange", "ngModel", "name", "placeholder", "disabled"], [1, "fa-solid", "fa-info-circle", 2, "font-size", "2em", "margin-bottom", "12px", "opacity", "0.5"], [2, "margin", "0 0 12px 0"], ["themeColor", "primary", "size", "small", 3, "click", "disabled"], [2, "display", "flex", "align-items", "center", "gap", "8px", "margin-bottom", "8px"], [1, "fa-solid", "fa-code", 2, "color", "#6c757d", "font-size", "0.9em"], [2, "font-weight", "600", "color", "#495057", "font-size", "0.9em"], [2, "background", "#f8f9fa", "border", "1px solid #dee2e6", "border-radius", "4px", "padding", "12px", "font-family", "'Courier New', monospace", "font-size", "0.85em", "white-space", "pre-wrap", "overflow", "auto", "max-height", "150px"], [1, "fa-solid", "fa-cogs", 2, "color", "#6c757d"], [1, "fa-solid", "fa-chart-line", 2, "color", "#6c757d"], [1, "badge", 2, "color", "white", "padding", "2px 6px", "border-radius", "10px", "font-size", "0.7em", 3, "background"], [1, "badge", 2, "color", "white", "padding", "2px 6px", "border-radius", "10px", "font-size", "0.7em"], [2, "display", "grid", "grid-template-columns", "repeat(auto-fit, minmax(150px, 1fr))", "gap", "12px", "margin-bottom", "16px", "padding", "12px", "background", "#f8f9fa", "border", "1px solid #dee2e6", "border-radius", "6px"], [2, "font-size", "0.75em", "color", "#6c757d", "margin-bottom", "2px"], [2, "font-weight", "600"], [2, "flex", "1", "overflow-y", "auto", "padding-right", "8px"], [2, "margin-bottom", "16px"], [2, "font-weight", "600", "color", "#495057"], [2, "font-weight", "600", "color", "#495057", "font-size", "0.8em"], [2, "margin", "0 0 8px 0", "color", "#495057", "display", "flex", "align-items", "center", "gap", "6px"], [1, "fa-solid", "fa-check-circle", 2, "color", "#28a745"], [2, "background", "#f8f9fa", "border", "1px solid #dee2e6", "border-radius", "4px", "padding", "12px", "font-family", "'Courier New', monospace", "font-size", "0.9em", "white-space", "pre-wrap", "overflow", "auto", "max-height", "300px"], [2, "margin", "0 0 8px 0", "color", "#dc3545", "display", "flex", "align-items", "center", "gap", "6px"], [1, "fa-solid", "fa-exclamation-triangle"], [2, "background", "#f8d7da", "border", "1px solid #f5c6cb", "border-radius", "4px", "padding", "12px", "color", "#721c24", "font-size", "0.9em", "white-space", "pre-wrap", "overflow", "auto", "max-height", "300px"], [1, "fa-solid", "fa-code", 2, "color", "#17a2b8"], [2, "background", "#f8f9fa", "border", "1px solid #dee2e6", "border-radius", "4px", "padding", "12px", "font-family", "'Courier New', monospace", "font-size", "0.9em", "white-space", "pre-wrap", "overflow", "auto", "max-height", "200px"], [1, "fa-solid", "fa-shield-alt", 2, "color", "#ffc107"], [2, "background", "#fff3cd", "border", "1px solid #ffeaa7", "border-radius", "4px", "padding", "12px", "color", "#856404", "font-size", "0.9em", "white-space", "pre-wrap", "overflow", "auto", "max-height", "150px"], [1, "fa-solid", "fa-play-circle", 2, "font-size", "3em", "margin-bottom", "12px", "opacity", "0.3"], [2, "margin", "0"], ["fillMode", "outline", "themeColor", "info", 3, "click"], [1, "fa-solid", "fa-download"], [1, "fa-solid", "fa-spinner", "fa-spin"], [1, "fa-solid", "fa-play"]], template: function AIPromptExecutionDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
812
|
-
i0.ɵɵtemplate(0, AIPromptExecutionDialogComponent_kendo_dialog_0_Template, 19, 9, "kendo-dialog", 0);
|
|
813
|
-
} if (rf & 2) {
|
|
814
|
-
i0.ɵɵproperty("ngIf", ctx._isVisible);
|
|
815
|
-
} }, dependencies: [i1.NgIf, i2.NgControlStatus, i2.NgModel, i3.ExpansionPanelComponent, i3.ExpansionPanelTitleDirective, i4.DialogComponent, i4.DialogActionsComponent, i5.TextAreaComponent, i5.TextBoxComponent, i5.CheckBoxComponent, i6.DropDownListComponent, i7.ButtonComponent], styles: [".dialog-content[_ngcontent-%COMP%] {\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n}\n\n.section-header[_ngcontent-%COMP%] h6[_ngcontent-%COMP%] {\n font-size: 0.9em;\n}\n\n.parameter-row[_ngcontent-%COMP%]:hover {\n background-color: #f8f9fa !important;\n}\n\n.option-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n}\n\n.loading-state[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n}\n\n.badge[_ngcontent-%COMP%] {\n display: inline-block;\n font-size: 0.7em;\n line-height: 1;\n}\n\n.execution-results[_ngcontent-%COMP%] {\n transition: box-shadow 0.2s ease;\n}\n\n.execution-results[_ngcontent-%COMP%]:hover {\n box-shadow: 0 2px 4px rgba(0,0,0,0.1);\n}\n\n.result-header[_ngcontent-%COMP%] {\n transition: background-color 0.2s ease;\n}\n\n.result-content[_ngcontent-%COMP%] {\n line-height: 1.4;\n}\n\n.result-content[_ngcontent-%COMP%] pre[_ngcontent-%COMP%] {\n word-wrap: break-word;\n white-space: pre-wrap;\n}\n\n\n\n.ai-prompt-execution-dialog[_ngcontent-%COMP%] kendo-textbox[_ngcontent-%COMP%], \n.ai-prompt-execution-dialog[_ngcontent-%COMP%] kendo-textarea[_ngcontent-%COMP%], \n.ai-prompt-execution-dialog[_ngcontent-%COMP%] kendo-dropdownlist[_ngcontent-%COMP%] {\n width: 100%;\n}\n\n.ai-prompt-execution-dialog[_ngcontent-%COMP%] kendo-button[_ngcontent-%COMP%] {\n min-width: auto;\n}\n\n.ai-prompt-execution-dialog[_ngcontent-%COMP%] kendo-checkbox[_ngcontent-%COMP%] {\n margin-right: 8px;\n}\n\n\n\n@media (max-width: 768px) {\n .options-content[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n grid-template-columns: 1fr !important;\n }\n \n .parameter-row[_ngcontent-%COMP%] {\n grid-template-columns: 1fr !important;\n gap: 8px !important;\n }\n}"] }); }
|
|
816
|
-
}
|
|
817
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIPromptExecutionDialogComponent, [{
|
|
818
|
-
type: Component,
|
|
819
|
-
args: [{ selector: 'mj-ai-prompt-execution-dialog', template: "<kendo-dialog *ngIf=\"_isVisible\"\n [minWidth]=\"700\"\n [width]=\"900\"\n [height]=\"850\"\n (close)=\"close()\"\n [title]=\"'Execute AI Prompt: ' + (aiPrompt?.Name || 'Unknown')\">\n \n <div class=\"dialog-content\" style=\"display: flex; flex-direction: column; height: 100%; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\">\n \n <!-- Header Section -->\n <div class=\"header-section\" style=\"margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid #e9ecef;\">\n <div style=\"display: flex; align-items: center; gap: 12px; margin-bottom: 8px;\">\n <i class=\"fa-solid fa-robot\" style=\"color: #6f42c1; font-size: 1.2em;\"></i>\n <h5 style=\"margin: 0; color: #495057; font-weight: 600;\">AI Prompt Execution</h5>\n @if (aiPrompt?.ParallelizationMode && aiPrompt?.ParallelizationMode !== 'None') {\n <span class=\"badge\" style=\"background: #6f42c1; color: white; padding: 3px 8px; border-radius: 12px; font-size: 0.7em;\">\n {{ aiPrompt?.ParallelizationMode }}\n </span>\n }\n </div>\n <p style=\"margin: 0; color: #6c757d; font-size: 0.9em;\">\n Define variables for the AI prompt to process. Each variable will be available as data context during execution.\n </p>\n </div>\n\n <!-- Loading State -->\n @if (isLoading) {\n <div class=\"loading-state\" style=\"display: flex; align-items: center; justify-content: center; padding: 40px;\">\n <i class=\"fa-solid fa-spinner fa-spin\" style=\"font-size: 24px; color: #6c757d; margin-right: 12px;\"></i>\n <span style=\"color: #6c757d;\">Loading prompt configuration...</span>\n </div>\n } @else {\n \n <!-- Data Context Variables Section -->\n <kendo-expansionpanel \n [(expanded)]=\"dataContextExpanded\"\n style=\"margin-bottom: 16px; flex-shrink: 0;\">\n <ng-template kendoExpansionPanelTitleDirective>\n <span style=\"display: flex; align-items: center; gap: 8px; font-weight: 600;\">\n <i class=\"fa-solid fa-database\" style=\"color: #6c757d;\"></i>\n Data Context Variables\n <span style=\"color: #dc3545; font-weight: bold;\">*</span>\n @if (dataContextVariables.length > 0) {\n <span class=\"badge\" style=\"background: #17a2b8; color: white; padding: 2px 6px; border-radius: 10px; font-size: 0.7em;\">\n {{ dataContextVariables.length }}\n </span>\n }\n </span>\n </ng-template>\n \n <div style=\"padding: 12px 0;\">\n <div style=\"margin-bottom: 12px; color: #6c757d; font-size: 0.85em;\">\n <i class=\"fa-solid fa-info-circle\"></i>\n Define variables that will be available to the AI prompt during execution. These are converted to JSON format automatically.\n </div>\n \n <!-- Variables Table -->\n @if (dataContextVariables.length > 0) {\n <div style=\"border: 1px solid #dee2e6; border-radius: 6px; background: #f8f9fa;\">\n <!-- Header -->\n <div style=\"display: grid; grid-template-columns: 200px 1fr 120px 60px; gap: 12px; padding: 12px 16px; background: #e9ecef; font-weight: 600; font-size: 0.85em; color: #495057; border-bottom: 1px solid #dee2e6;\">\n <div>Variable Name <span style=\"color: #dc3545;\">*</span></div>\n <div>Value</div>\n <div>Type</div>\n <div>Actions</div>\n </div>\n \n <!-- Variable Rows -->\n @for (variable of dataContextVariables; track $index; let i = $index) {\n <div [style.background]=\"!variable.name.trim() ? '#fff3cd' : 'white'\"\n [style.border-left]=\"!variable.name.trim() ? '3px solid #ffc107' : 'none'\"\n style=\"display: grid; grid-template-columns: 200px 1fr 120px 60px; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #e9ecef; align-items: center;\">\n \n <!-- Variable Name -->\n <div>\n <kendo-textbox [(ngModel)]=\"variable.name\"\n [name]=\"'varName_' + i\"\n placeholder=\"Variable name...\"\n [disabled]=\"isRunning\"\n (valueChange)=\"updateDataContextFromVariables()\"\n style=\"width: 100%; font-size: 0.9em;\">\n </kendo-textbox>\n </div>\n \n <!-- Variable Value -->\n <div>\n @if (variable.type === 'object') {\n <kendo-textarea [(ngModel)]=\"variable.value\"\n [name]=\"'varValue_' + i\"\n [rows]=\"2\"\n placeholder=\"JSON object...\"\n [disabled]=\"isRunning\"\n (valueChange)=\"updateDataContextFromVariables()\"\n style=\"width: 100%; font-size: 0.85em; font-family: 'Courier New', monospace;\">\n </kendo-textarea>\n } @else if (variable.type === 'boolean') {\n <kendo-dropdownlist [(ngModel)]=\"variable.value\"\n [name]=\"'varValue_' + i\"\n [data]=\"[{text: 'True', value: 'true'}, {text: 'False', value: 'false'}]\"\n textField=\"text\"\n valueField=\"value\"\n [valuePrimitive]=\"true\"\n [disabled]=\"isRunning\"\n (valueChange)=\"updateDataContextFromVariables()\"\n style=\"width: 100%; font-size: 0.9em;\">\n </kendo-dropdownlist>\n } @else {\n <kendo-textbox [(ngModel)]=\"variable.value\"\n [name]=\"'varValue_' + i\"\n [placeholder]=\"variable.type === 'number' ? 'Enter number...' : 'Enter text...'\"\n [disabled]=\"isRunning\"\n (valueChange)=\"updateDataContextFromVariables()\"\n style=\"width: 100%; font-size: 0.9em;\">\n </kendo-textbox>\n }\n </div>\n \n <!-- Variable Type -->\n <div>\n <kendo-dropdownlist [(ngModel)]=\"variable.type\"\n [name]=\"'varType_' + i\"\n [data]=\"[{text: 'String', value: 'string'}, {text: 'Number', value: 'number'}, {text: 'Boolean', value: 'boolean'}, {text: 'Object', value: 'object'}]\"\n textField=\"text\"\n valueField=\"value\"\n [valuePrimitive]=\"true\"\n [disabled]=\"isRunning\"\n (valueChange)=\"updateDataContextFromVariables()\"\n style=\"width: 100%; font-size: 0.85em;\">\n </kendo-dropdownlist>\n </div>\n \n <!-- Actions -->\n <div style=\"text-align: center;\">\n <kendo-button fillMode=\"flat\" themeColor=\"error\" size=\"small\"\n (click)=\"removeDataContextVariable(i)\"\n [disabled]=\"isRunning\"\n title=\"Remove variable\">\n <i class=\"fa-solid fa-times\"></i>\n </kendo-button>\n </div>\n </div>\n }\n \n <!-- Add Variable Row -->\n <div style=\"padding: 12px 16px; text-align: center; background: white; border-top: 1px solid #dee2e6;\">\n <kendo-button fillMode=\"outline\" themeColor=\"success\" size=\"small\"\n (click)=\"addDataContextVariable()\"\n [disabled]=\"isRunning\">\n <i class=\"fa-solid fa-plus\"></i> Add Variable\n </kendo-button>\n </div>\n </div>\n } @else {\n <div style=\"text-align: center; padding: 20px; color: #6c757d;\">\n <i class=\"fa-solid fa-info-circle\" style=\"font-size: 2em; margin-bottom: 12px; opacity: 0.5;\"></i>\n <p style=\"margin: 0 0 12px 0;\">No variables defined yet</p>\n <kendo-button themeColor=\"primary\" size=\"small\"\n (click)=\"addDataContextVariable()\"\n [disabled]=\"isRunning\">\n <i class=\"fa-solid fa-plus\"></i> Add First Variable\n </kendo-button>\n </div>\n }\n \n <!-- Generated JSON Preview -->\n @if (dataContext) {\n <div style=\"margin-top: 16px;\">\n <div style=\"display: flex; align-items: center; gap: 8px; margin-bottom: 8px;\">\n <i class=\"fa-solid fa-code\" style=\"color: #6c757d; font-size: 0.9em;\"></i>\n <span style=\"font-weight: 600; color: #495057; font-size: 0.9em;\">Generated JSON:</span>\n </div>\n <div style=\"background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 4px; padding: 12px; font-family: 'Courier New', monospace; font-size: 0.85em; white-space: pre-wrap; overflow: auto; max-height: 150px;\">{{ dataContext }}</div>\n </div>\n }\n </div>\n </kendo-expansionpanel>\n\n <!-- Execution Options Section -->\n <kendo-expansionpanel \n [(expanded)]=\"optionsExpanded\"\n style=\"margin-bottom: 16px; flex-shrink: 0;\">\n <ng-template kendoExpansionPanelTitleDirective>\n <span style=\"display: flex; align-items: center; gap: 8px; font-weight: 600;\">\n <i class=\"fa-solid fa-cogs\" style=\"color: #6c757d;\"></i>\n Execution Options\n </span>\n </ng-template>\n \n <div style=\"padding: 12px 0;\">\n <div style=\"display: grid; grid-template-columns: 1fr 1fr; gap: 16px;\">\n \n <!-- Model Selection -->\n <div class=\"option-group\">\n <label style=\"display: block; font-weight: 500; margin-bottom: 6px; color: #495057; font-size: 0.9em;\">\n <i class=\"fa-solid fa-microchip\" style=\"margin-right: 6px; color: #6c757d;\"></i>\n AI Model Override\n </label>\n <kendo-dropdownlist [(ngModel)]=\"executionOptions.modelId\"\n [data]=\"availableModels\"\n textField=\"Name\"\n valueField=\"ID\"\n [valuePrimitive]=\"true\"\n [filterable]=\"true\"\n [disabled]=\"isRunning\"\n placeholder=\"Use prompt's configured models...\"\n style=\"width: 100%;\">\n </kendo-dropdownlist>\n <div style=\"margin-top: 4px; font-size: 0.75em; color: #6c757d;\">\n Optional: Override the prompt's configured models\n </div>\n </div>\n \n <!-- Vendor Selection -->\n <div class=\"option-group\">\n <label style=\"display: block; font-weight: 500; margin-bottom: 6px; color: #495057; font-size: 0.9em;\">\n <i class=\"fa-solid fa-server\" style=\"margin-right: 6px; color: #6c757d;\"></i>\n AI Vendor Override\n </label>\n <kendo-dropdownlist [(ngModel)]=\"executionOptions.vendorId\"\n [data]=\"availableVendors\"\n textField=\"Name\"\n valueField=\"ID\"\n [valuePrimitive]=\"true\"\n [filterable]=\"true\"\n [disabled]=\"isRunning\"\n placeholder=\"Use prompt's configured vendors...\"\n style=\"width: 100%;\">\n </kendo-dropdownlist>\n <div style=\"margin-top: 4px; font-size: 0.75em; color: #6c757d;\">\n Optional: Override the vendor for model inference\n </div>\n </div>\n \n <!-- Response Format -->\n <div class=\"option-group\">\n <label style=\"display: block; font-weight: 500; margin-bottom: 6px; color: #495057; font-size: 0.9em;\">\n <i class=\"fa-solid fa-file-alt\" style=\"margin-right: 6px; color: #6c757d;\"></i>\n Response Format\n </label>\n <kendo-dropdownlist [(ngModel)]=\"selectedResponseFormat\"\n [data]=\"responseFormatOptions\"\n textField=\"text\"\n valueField=\"value\"\n [valuePrimitive]=\"true\"\n [disabled]=\"isRunning\"\n placeholder=\"Select format...\"\n style=\"width: 100%;\">\n </kendo-dropdownlist>\n <div style=\"margin-top: 4px; font-size: 0.75em; color: #6c757d;\">\n Expected format for AI response (defaults to prompt setting)\n </div>\n </div>\n \n <!-- Configuration ID -->\n <div class=\"option-group\">\n <label style=\"display: block; font-weight: 500; margin-bottom: 6px; color: #495057; font-size: 0.9em;\">\n <i class=\"fa-solid fa-gear\" style=\"margin-right: 6px; color: #6c757d;\"></i>\n Configuration ID\n </label>\n <kendo-textbox [(ngModel)]=\"executionOptions.configurationId\"\n placeholder=\"Optional configuration identifier...\"\n [disabled]=\"isRunning\"\n style=\"width: 100%;\">\n </kendo-textbox>\n <div style=\"margin-top: 4px; font-size: 0.75em; color: #6c757d;\">\n Environment-specific configuration identifier\n </div>\n </div>\n \n <!-- Skip Validation -->\n <div class=\"option-group\">\n <label style=\"display: flex; align-items: center; font-weight: 500; color: #495057; font-size: 0.9em;\">\n <kendo-checkbox [(ngModel)]=\"executionOptions.skipValidation\"\n [disabled]=\"isRunning\">\n </kendo-checkbox>\n <i class=\"fa-solid fa-shield-alt\" style=\"margin-right: 6px; color: #6c757d;\"></i>\n Skip Output Validation\n </label>\n <div style=\"margin-top: 4px; margin-left: 24px; font-size: 0.75em; color: #6c757d;\">\n Bypass output format validation for faster execution\n </div>\n </div>\n </div>\n </div>\n </kendo-expansionpanel>\n\n <!-- Results Section -->\n <kendo-expansionpanel \n [(expanded)]=\"resultsExpanded\"\n style=\"margin-bottom: 16px; flex: 1; display: flex; flex-direction: column;\">\n <ng-template kendoExpansionPanelTitleDirective>\n <span style=\"display: flex; align-items: center; gap: 8px; font-weight: 600;\">\n <i class=\"fa-solid fa-chart-line\" style=\"color: #6c757d;\"></i>\n Execution Results\n @if (executionResult) {\n <span class=\"badge\" \n [style.background]=\"executionResult.success ? '#28a745' : '#dc3545'\"\n style=\"color: white; padding: 2px 6px; border-radius: 10px; font-size: 0.7em;\">\n {{ executionResult.success ? 'Success' : 'Error' }}\n </span>\n }\n </span>\n </ng-template>\n \n <div style=\"padding: 12px 0; flex: 1; display: flex; flex-direction: column;\">\n @if (isRunning) {\n <div class=\"loading-state\" style=\"display: flex; align-items: center; justify-content: center; padding: 40px; flex: 1;\">\n <i class=\"fa-solid fa-spinner fa-spin\" style=\"font-size: 24px; color: #6c757d; margin-right: 12px;\"></i>\n <span style=\"color: #6c757d;\">Executing AI prompt...</span>\n </div>\n } @else if (executionResult) {\n <div style=\"flex: 1; display: flex; flex-direction: column;\">\n <!-- Result Header with Stats -->\n <div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; padding: 12px; background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 6px;\">\n <div style=\"text-align: center;\">\n <div style=\"font-size: 0.75em; color: #6c757d; margin-bottom: 2px;\">STATUS</div>\n <div [style.color]=\"executionResult.success ? '#28a745' : '#dc3545'\" style=\"font-weight: 600;\">\n {{ executionResult.success ? 'Success' : 'Failed' }}\n </div>\n </div>\n @if (executionResult.executionTimeMs) {\n <div style=\"text-align: center;\">\n <div style=\"font-size: 0.75em; color: #6c757d; margin-bottom: 2px;\">EXECUTION TIME</div>\n <div style=\"font-weight: 600; color: #495057;\">{{ executionResult.executionTimeMs }}ms</div>\n </div>\n }\n @if (executionResult.tokensUsed) {\n <div style=\"text-align: center;\">\n <div style=\"font-size: 0.75em; color: #6c757d; margin-bottom: 2px;\">TOKENS USED</div>\n <div style=\"font-weight: 600; color: #495057;\">{{ executionResult.tokensUsed }}</div>\n </div>\n }\n @if (executionResult.promptRunId) {\n <div style=\"text-align: center;\">\n <div style=\"font-size: 0.75em; color: #6c757d; margin-bottom: 2px;\">RUN ID</div>\n <div style=\"font-weight: 600; color: #495057; font-size: 0.8em;\">{{ executionResult.promptRunId }}</div>\n </div>\n }\n </div>\n\n <!-- Result Content -->\n <div style=\"flex: 1; overflow-y: auto; padding-right: 8px;\">\n @if (executionResult.success && executionResult.output) {\n <div style=\"margin-bottom: 16px;\">\n <h6 style=\"margin: 0 0 8px 0; color: #495057; display: flex; align-items: center; gap: 6px;\">\n <i class=\"fa-solid fa-check-circle\" style=\"color: #28a745;\"></i>\n Output\n </h6>\n <div style=\"background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 4px; padding: 12px; font-family: 'Courier New', monospace; font-size: 0.9em; white-space: pre-wrap; overflow: auto; max-height: 300px;\">{{ executionResult.output }}</div>\n </div>\n }\n \n @if (executionResult.error) {\n <div style=\"margin-bottom: 16px;\">\n <h6 style=\"margin: 0 0 8px 0; color: #dc3545; display: flex; align-items: center; gap: 6px;\">\n <i class=\"fa-solid fa-exclamation-triangle\"></i>\n Error\n </h6>\n <div style=\"background: #f8d7da; border: 1px solid #f5c6cb; border-radius: 4px; padding: 12px; color: #721c24; font-size: 0.9em; white-space: pre-wrap; overflow: auto; max-height: 300px;\">{{ executionResult.error }}</div>\n </div>\n }\n \n @if (executionResult.parsedResult && executionResult.parsedResult !== executionResult.output) {\n <div style=\"margin-bottom: 16px;\">\n <h6 style=\"margin: 0 0 8px 0; color: #495057; display: flex; align-items: center; gap: 6px;\">\n <i class=\"fa-solid fa-code\" style=\"color: #17a2b8;\"></i>\n Parsed Result\n </h6>\n <div style=\"background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 4px; padding: 12px; font-family: 'Courier New', monospace; font-size: 0.9em; white-space: pre-wrap; overflow: auto; max-height: 200px;\">{{ executionResult.parsedResult }}</div>\n </div>\n }\n \n @if (executionResult.validationResult) {\n <div style=\"margin-bottom: 16px;\">\n <h6 style=\"margin: 0 0 8px 0; color: #495057; display: flex; align-items: center; gap: 6px;\">\n <i class=\"fa-solid fa-shield-alt\" style=\"color: #ffc107;\"></i>\n Validation Result\n </h6>\n <div style=\"background: #fff3cd; border: 1px solid #ffeaa7; border-radius: 4px; padding: 12px; color: #856404; font-size: 0.9em; white-space: pre-wrap; overflow: auto; max-height: 150px;\">{{ executionResult.validationResult }}</div>\n </div>\n }\n </div>\n </div>\n } @else {\n <div style=\"display: flex; align-items: center; justify-content: center; padding: 40px; color: #6c757d; flex: 1;\">\n <div style=\"text-align: center;\">\n <i class=\"fa-solid fa-play-circle\" style=\"font-size: 3em; margin-bottom: 12px; opacity: 0.3;\"></i>\n <p style=\"margin: 0;\">No execution results yet. Run the prompt to see results here.</p>\n </div>\n </div>\n }\n </div>\n </kendo-expansionpanel>\n }\n </div>\n\n <!-- Dialog Actions -->\n <kendo-dialog-actions>\n <kendo-button fillMode=\"outline\" (click)=\"close()\">\n Close\n </kendo-button>\n \n @if (executionResult) {\n <kendo-button fillMode=\"outline\" themeColor=\"info\" (click)=\"saveResults()\">\n <i class=\"fa-solid fa-download\"></i> Save Results\n </kendo-button>\n }\n \n <kendo-button themeColor=\"primary\" \n (click)=\"runAIPrompt()\" \n [disabled]=\"isRunning || isLoading\">\n @if (isRunning) {\n <i class=\"fa-solid fa-spinner fa-spin\"></i> Running...\n } @else {\n <i class=\"fa-solid fa-play\"></i> Run Prompt\n }\n </kendo-button>\n </kendo-dialog-actions>\n</kendo-dialog>", styles: [".dialog-content {\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n}\n\n.section-header h6 {\n font-size: 0.9em;\n}\n\n.parameter-row:hover {\n background-color: #f8f9fa !important;\n}\n\n.option-group label {\n display: flex;\n align-items: center;\n}\n\n.loading-state {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n}\n\n.badge {\n display: inline-block;\n font-size: 0.7em;\n line-height: 1;\n}\n\n.execution-results {\n transition: box-shadow 0.2s ease;\n}\n\n.execution-results:hover {\n box-shadow: 0 2px 4px rgba(0,0,0,0.1);\n}\n\n.result-header {\n transition: background-color 0.2s ease;\n}\n\n.result-content {\n line-height: 1.4;\n}\n\n.result-content pre {\n word-wrap: break-word;\n white-space: pre-wrap;\n}\n\n/* Kendo UI overrides for better integration */\n.ai-prompt-execution-dialog kendo-textbox,\n.ai-prompt-execution-dialog kendo-textarea,\n.ai-prompt-execution-dialog kendo-dropdownlist {\n width: 100%;\n}\n\n.ai-prompt-execution-dialog kendo-button {\n min-width: auto;\n}\n\n.ai-prompt-execution-dialog kendo-checkbox {\n margin-right: 8px;\n}\n\n/* Grid layouts for responsive design */\n@media (max-width: 768px) {\n .options-content > div {\n grid-template-columns: 1fr !important;\n }\n \n .parameter-row {\n grid-template-columns: 1fr !important;\n gap: 8px !important;\n }\n}"] }]
|
|
820
|
-
}], () => [], { aiPrompt: [{
|
|
821
|
-
type: Input
|
|
822
|
-
}], isVisible: [{
|
|
823
|
-
type: Input
|
|
824
|
-
}], isVisibleChange: [{
|
|
825
|
-
type: Output
|
|
826
|
-
}], onClose: [{
|
|
827
|
-
type: Output
|
|
828
|
-
}] }); })();
|
|
829
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIPromptExecutionDialogComponent, { className: "AIPromptExecutionDialogComponent", filePath: "src/lib/custom/AIPrompts/ai-prompt-execution-dialog.component.ts", lineNumber: 39 }); })();
|
|
830
|
-
//# sourceMappingURL=ai-prompt-execution-dialog.component.js.map
|