@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
|
@@ -0,0 +1,537 @@
|
|
|
1
|
+
import { Component, Input, ViewChild } from '@angular/core';
|
|
2
|
+
import { Metadata, RunView } from '@memberjunction/core';
|
|
3
|
+
import { MJNotificationService } from '@memberjunction/ng-notifications';
|
|
4
|
+
import { GridComponent } from '@progress/kendo-angular-grid';
|
|
5
|
+
import { FormGroup, FormControl, Validators } from '@angular/forms';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
|
+
import * as i2 from "@angular/forms";
|
|
9
|
+
import * as i3 from "@progress/kendo-angular-grid";
|
|
10
|
+
import * as i4 from "@progress/kendo-angular-inputs";
|
|
11
|
+
import * as i5 from "@progress/kendo-angular-dropdowns";
|
|
12
|
+
function TemplateParamsGridComponent_kendo_grid_toolbar_8_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
+
i0.ɵɵelementStart(0, "kendo-grid-toolbar")(1, "button", 16);
|
|
14
|
+
i0.ɵɵelement(2, "i", 17);
|
|
15
|
+
i0.ɵɵtext(3, " Add Parameter ");
|
|
16
|
+
i0.ɵɵelementEnd()();
|
|
17
|
+
} }
|
|
18
|
+
function TemplateParamsGridComponent_ng_template_10_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
+
i0.ɵɵelementStart(0, "span", 20);
|
|
20
|
+
i0.ɵɵelement(1, "i", 21);
|
|
21
|
+
i0.ɵɵtext(2, " Required ");
|
|
22
|
+
i0.ɵɵelementEnd();
|
|
23
|
+
} }
|
|
24
|
+
function TemplateParamsGridComponent_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
|
25
|
+
i0.ɵɵelementStart(0, "div", 18)(1, "strong");
|
|
26
|
+
i0.ɵɵtext(2);
|
|
27
|
+
i0.ɵɵelementEnd();
|
|
28
|
+
i0.ɵɵtemplate(3, TemplateParamsGridComponent_ng_template_10_span_3_Template, 3, 0, "span", 19);
|
|
29
|
+
i0.ɵɵelementEnd();
|
|
30
|
+
} if (rf & 2) {
|
|
31
|
+
const dataItem_r1 = ctx.$implicit;
|
|
32
|
+
i0.ɵɵadvance(2);
|
|
33
|
+
i0.ɵɵtextInterpolate(dataItem_r1.Name);
|
|
34
|
+
i0.ɵɵadvance();
|
|
35
|
+
i0.ɵɵproperty("ngIf", dataItem_r1.IsRequired);
|
|
36
|
+
} }
|
|
37
|
+
function TemplateParamsGridComponent_ng_template_11_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
+
i0.ɵɵelementStart(0, "span", 24);
|
|
39
|
+
i0.ɵɵtext(1, " Parameter name is required ");
|
|
40
|
+
i0.ɵɵelementEnd();
|
|
41
|
+
} }
|
|
42
|
+
function TemplateParamsGridComponent_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
43
|
+
i0.ɵɵelement(0, "kendo-textbox", 22);
|
|
44
|
+
i0.ɵɵtemplate(1, TemplateParamsGridComponent_ng_template_11_span_1_Template, 2, 0, "span", 23);
|
|
45
|
+
} if (rf & 2) {
|
|
46
|
+
let tmp_5_0;
|
|
47
|
+
const formGroup_r2 = ctx.formGroup;
|
|
48
|
+
i0.ɵɵstyleProp("width", 100, "%");
|
|
49
|
+
i0.ɵɵproperty("formControl", formGroup_r2.get("name"));
|
|
50
|
+
i0.ɵɵadvance();
|
|
51
|
+
i0.ɵɵproperty("ngIf", ((tmp_5_0 = formGroup_r2.get("name")) == null ? null : tmp_5_0.touched) && ((tmp_5_0 = formGroup_r2.get("name")) == null ? null : tmp_5_0.errors == null ? null : tmp_5_0.errors["required"]));
|
|
52
|
+
} }
|
|
53
|
+
function TemplateParamsGridComponent_ng_template_13_Template(rf, ctx) { if (rf & 1) {
|
|
54
|
+
i0.ɵɵelementStart(0, "div", 25);
|
|
55
|
+
i0.ɵɵelement(1, "i");
|
|
56
|
+
i0.ɵɵtext(2);
|
|
57
|
+
i0.ɵɵelementEnd();
|
|
58
|
+
} if (rf & 2) {
|
|
59
|
+
const dataItem_r3 = ctx.$implicit;
|
|
60
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
61
|
+
i0.ɵɵadvance();
|
|
62
|
+
i0.ɵɵclassMapInterpolate1("fa-solid ", ctx_r3.getTypeIcon(dataItem_r3.Type), "");
|
|
63
|
+
i0.ɵɵadvance();
|
|
64
|
+
i0.ɵɵtextInterpolate1(" ", dataItem_r3.Type, " ");
|
|
65
|
+
} }
|
|
66
|
+
function TemplateParamsGridComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
|
67
|
+
i0.ɵɵelement(0, "kendo-dropdownlist", 26);
|
|
68
|
+
} if (rf & 2) {
|
|
69
|
+
const formGroup_r5 = ctx.formGroup;
|
|
70
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
71
|
+
i0.ɵɵstyleProp("width", 100, "%");
|
|
72
|
+
i0.ɵɵproperty("formControl", formGroup_r5.get("type"))("data", ctx_r3.typeOptions)("valuePrimitive", true);
|
|
73
|
+
} }
|
|
74
|
+
function TemplateParamsGridComponent_ng_template_16_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
75
|
+
i0.ɵɵelement(0, "i", 30);
|
|
76
|
+
} }
|
|
77
|
+
function TemplateParamsGridComponent_ng_template_16_i_2_Template(rf, ctx) { if (rf & 1) {
|
|
78
|
+
i0.ɵɵelement(0, "i", 31);
|
|
79
|
+
} }
|
|
80
|
+
function TemplateParamsGridComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
|
|
81
|
+
i0.ɵɵelementStart(0, "div", 27);
|
|
82
|
+
i0.ɵɵtemplate(1, TemplateParamsGridComponent_ng_template_16_i_1_Template, 1, 0, "i", 28)(2, TemplateParamsGridComponent_ng_template_16_i_2_Template, 1, 0, "i", 29);
|
|
83
|
+
i0.ɵɵelementEnd();
|
|
84
|
+
} if (rf & 2) {
|
|
85
|
+
const dataItem_r6 = ctx.$implicit;
|
|
86
|
+
i0.ɵɵadvance();
|
|
87
|
+
i0.ɵɵproperty("ngIf", dataItem_r6.IsRequired);
|
|
88
|
+
i0.ɵɵadvance();
|
|
89
|
+
i0.ɵɵproperty("ngIf", !dataItem_r6.IsRequired);
|
|
90
|
+
} }
|
|
91
|
+
function TemplateParamsGridComponent_ng_template_17_Template(rf, ctx) { if (rf & 1) {
|
|
92
|
+
i0.ɵɵelement(0, "kendo-switch", 32);
|
|
93
|
+
} if (rf & 2) {
|
|
94
|
+
const formGroup_r7 = ctx.formGroup;
|
|
95
|
+
i0.ɵɵproperty("formControl", formGroup_r7.get("isRequired"));
|
|
96
|
+
} }
|
|
97
|
+
function TemplateParamsGridComponent_ng_template_19_Template(rf, ctx) { if (rf & 1) {
|
|
98
|
+
i0.ɵɵelementStart(0, "div", 33);
|
|
99
|
+
i0.ɵɵtext(1);
|
|
100
|
+
i0.ɵɵelementEnd();
|
|
101
|
+
} if (rf & 2) {
|
|
102
|
+
const dataItem_r8 = ctx.$implicit;
|
|
103
|
+
i0.ɵɵadvance();
|
|
104
|
+
i0.ɵɵtextInterpolate1(" ", dataItem_r8.Description || "(No description)", " ");
|
|
105
|
+
} }
|
|
106
|
+
function TemplateParamsGridComponent_ng_template_20_Template(rf, ctx) { if (rf & 1) {
|
|
107
|
+
i0.ɵɵelement(0, "kendo-textarea", 34);
|
|
108
|
+
} if (rf & 2) {
|
|
109
|
+
const formGroup_r9 = ctx.formGroup;
|
|
110
|
+
i0.ɵɵstyleProp("width", 100, "%");
|
|
111
|
+
i0.ɵɵproperty("formControl", formGroup_r9.get("description"))("rows", 2);
|
|
112
|
+
} }
|
|
113
|
+
function TemplateParamsGridComponent_ng_template_22_code_0_Template(rf, ctx) { if (rf & 1) {
|
|
114
|
+
i0.ɵɵelementStart(0, "code", 37);
|
|
115
|
+
i0.ɵɵtext(1);
|
|
116
|
+
i0.ɵɵelementEnd();
|
|
117
|
+
} if (rf & 2) {
|
|
118
|
+
const dataItem_r10 = i0.ɵɵnextContext().$implicit;
|
|
119
|
+
i0.ɵɵadvance();
|
|
120
|
+
i0.ɵɵtextInterpolate(dataItem_r10.DefaultValue);
|
|
121
|
+
} }
|
|
122
|
+
function TemplateParamsGridComponent_ng_template_22_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
123
|
+
i0.ɵɵelementStart(0, "span", 38);
|
|
124
|
+
i0.ɵɵtext(1, "(No default)");
|
|
125
|
+
i0.ɵɵelementEnd();
|
|
126
|
+
} }
|
|
127
|
+
function TemplateParamsGridComponent_ng_template_22_Template(rf, ctx) { if (rf & 1) {
|
|
128
|
+
i0.ɵɵtemplate(0, TemplateParamsGridComponent_ng_template_22_code_0_Template, 2, 1, "code", 35)(1, TemplateParamsGridComponent_ng_template_22_span_1_Template, 2, 0, "span", 36);
|
|
129
|
+
} if (rf & 2) {
|
|
130
|
+
const dataItem_r10 = ctx.$implicit;
|
|
131
|
+
i0.ɵɵproperty("ngIf", dataItem_r10.DefaultValue);
|
|
132
|
+
i0.ɵɵadvance();
|
|
133
|
+
i0.ɵɵproperty("ngIf", !dataItem_r10.DefaultValue);
|
|
134
|
+
} }
|
|
135
|
+
function TemplateParamsGridComponent_ng_template_23_Template(rf, ctx) { if (rf & 1) {
|
|
136
|
+
i0.ɵɵelement(0, "kendo-textarea", 39);
|
|
137
|
+
} if (rf & 2) {
|
|
138
|
+
const formGroup_r11 = ctx.formGroup;
|
|
139
|
+
i0.ɵɵstyleProp("width", 100, "%");
|
|
140
|
+
i0.ɵɵproperty("formControl", formGroup_r11.get("defaultValue"))("rows", 2);
|
|
141
|
+
} }
|
|
142
|
+
function TemplateParamsGridComponent_kendo_grid_column_24_ng_template_1_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
143
|
+
i0.ɵɵelementStart(0, "button", 45);
|
|
144
|
+
i0.ɵɵelement(1, "i", 46);
|
|
145
|
+
i0.ɵɵelementEnd();
|
|
146
|
+
} }
|
|
147
|
+
function TemplateParamsGridComponent_kendo_grid_column_24_ng_template_1_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
148
|
+
i0.ɵɵelementStart(0, "button", 47);
|
|
149
|
+
i0.ɵɵelement(1, "i", 48);
|
|
150
|
+
i0.ɵɵelementEnd();
|
|
151
|
+
} }
|
|
152
|
+
function TemplateParamsGridComponent_kendo_grid_column_24_ng_template_1_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
153
|
+
i0.ɵɵelementStart(0, "button", 49);
|
|
154
|
+
i0.ɵɵelement(1, "i", 50);
|
|
155
|
+
i0.ɵɵelementEnd();
|
|
156
|
+
} }
|
|
157
|
+
function TemplateParamsGridComponent_kendo_grid_column_24_ng_template_1_button_3_Template(rf, ctx) { if (rf & 1) {
|
|
158
|
+
i0.ɵɵelementStart(0, "button", 51);
|
|
159
|
+
i0.ɵɵelement(1, "i", 52);
|
|
160
|
+
i0.ɵɵelementEnd();
|
|
161
|
+
} }
|
|
162
|
+
function TemplateParamsGridComponent_kendo_grid_column_24_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
163
|
+
i0.ɵɵtemplate(0, TemplateParamsGridComponent_kendo_grid_column_24_ng_template_1_button_0_Template, 2, 0, "button", 41)(1, TemplateParamsGridComponent_kendo_grid_column_24_ng_template_1_button_1_Template, 2, 0, "button", 42)(2, TemplateParamsGridComponent_kendo_grid_column_24_ng_template_1_button_2_Template, 2, 0, "button", 43)(3, TemplateParamsGridComponent_kendo_grid_column_24_ng_template_1_button_3_Template, 2, 0, "button", 44);
|
|
164
|
+
} if (rf & 2) {
|
|
165
|
+
const rowIndex_r12 = ctx.rowIndex;
|
|
166
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
167
|
+
i0.ɵɵproperty("ngIf", !ctx_r3.isInEditMode(rowIndex_r12));
|
|
168
|
+
i0.ɵɵadvance();
|
|
169
|
+
i0.ɵɵproperty("ngIf", !ctx_r3.isInEditMode(rowIndex_r12));
|
|
170
|
+
i0.ɵɵadvance();
|
|
171
|
+
i0.ɵɵproperty("ngIf", ctx_r3.isInEditMode(rowIndex_r12));
|
|
172
|
+
i0.ɵɵadvance();
|
|
173
|
+
i0.ɵɵproperty("ngIf", ctx_r3.isInEditMode(rowIndex_r12));
|
|
174
|
+
} }
|
|
175
|
+
function TemplateParamsGridComponent_kendo_grid_column_24_Template(rf, ctx) { if (rf & 1) {
|
|
176
|
+
i0.ɵɵelementStart(0, "kendo-grid-column", 40);
|
|
177
|
+
i0.ɵɵtemplate(1, TemplateParamsGridComponent_kendo_grid_column_24_ng_template_1_Template, 4, 4, "ng-template", 7);
|
|
178
|
+
i0.ɵɵelementEnd();
|
|
179
|
+
} if (rf & 2) {
|
|
180
|
+
i0.ɵɵproperty("width", 120);
|
|
181
|
+
} }
|
|
182
|
+
function TemplateParamsGridComponent_ng_template_25_p_4_Template(rf, ctx) { if (rf & 1) {
|
|
183
|
+
i0.ɵɵelementStart(0, "p");
|
|
184
|
+
i0.ɵɵtext(1, "Click \"Add Parameter\" to create your first parameter.");
|
|
185
|
+
i0.ɵɵelementEnd();
|
|
186
|
+
} }
|
|
187
|
+
function TemplateParamsGridComponent_ng_template_25_Template(rf, ctx) { if (rf & 1) {
|
|
188
|
+
i0.ɵɵelementStart(0, "div", 53);
|
|
189
|
+
i0.ɵɵelement(1, "i", 54);
|
|
190
|
+
i0.ɵɵelementStart(2, "p");
|
|
191
|
+
i0.ɵɵtext(3, "No parameters defined for this template.");
|
|
192
|
+
i0.ɵɵelementEnd();
|
|
193
|
+
i0.ɵɵtemplate(4, TemplateParamsGridComponent_ng_template_25_p_4_Template, 2, 0, "p", 5);
|
|
194
|
+
i0.ɵɵelementEnd();
|
|
195
|
+
} if (rf & 2) {
|
|
196
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
197
|
+
i0.ɵɵadvance(4);
|
|
198
|
+
i0.ɵɵproperty("ngIf", ctx_r3.editMode);
|
|
199
|
+
} }
|
|
200
|
+
function TemplateParamsGridComponent_div_26_Template(rf, ctx) { if (rf & 1) {
|
|
201
|
+
i0.ɵɵelementStart(0, "div", 55)(1, "h4");
|
|
202
|
+
i0.ɵɵelement(2, "i", 56);
|
|
203
|
+
i0.ɵɵtext(3, " Parameter Types");
|
|
204
|
+
i0.ɵɵelementEnd();
|
|
205
|
+
i0.ɵɵelementStart(4, "ul")(5, "li")(6, "strong");
|
|
206
|
+
i0.ɵɵtext(7, "Scalar:");
|
|
207
|
+
i0.ɵɵelementEnd();
|
|
208
|
+
i0.ɵɵtext(8, " Single value like text, number, or boolean");
|
|
209
|
+
i0.ɵɵelementEnd();
|
|
210
|
+
i0.ɵɵelementStart(9, "li")(10, "strong");
|
|
211
|
+
i0.ɵɵtext(11, "Array:");
|
|
212
|
+
i0.ɵɵelementEnd();
|
|
213
|
+
i0.ɵɵtext(12, " List of values");
|
|
214
|
+
i0.ɵɵelementEnd();
|
|
215
|
+
i0.ɵɵelementStart(13, "li")(14, "strong");
|
|
216
|
+
i0.ɵɵtext(15, "Object:");
|
|
217
|
+
i0.ɵɵelementEnd();
|
|
218
|
+
i0.ɵɵtext(16, " JSON object with multiple properties");
|
|
219
|
+
i0.ɵɵelementEnd();
|
|
220
|
+
i0.ɵɵelementStart(17, "li")(18, "strong");
|
|
221
|
+
i0.ɵɵtext(19, "Record:");
|
|
222
|
+
i0.ɵɵelementEnd();
|
|
223
|
+
i0.ɵɵtext(20, " Single record from a MemberJunction entity");
|
|
224
|
+
i0.ɵɵelementEnd();
|
|
225
|
+
i0.ɵɵelementStart(21, "li")(22, "strong");
|
|
226
|
+
i0.ɵɵtext(23, "Entity:");
|
|
227
|
+
i0.ɵɵelementEnd();
|
|
228
|
+
i0.ɵɵtext(24, " Multiple records from a MemberJunction entity (can be filtered)");
|
|
229
|
+
i0.ɵɵelementEnd()();
|
|
230
|
+
i0.ɵɵelementStart(25, "p", 57);
|
|
231
|
+
i0.ɵɵelement(26, "i", 58);
|
|
232
|
+
i0.ɵɵtext(27, " Use parameters in your template with the syntax: ");
|
|
233
|
+
i0.ɵɵelementStart(28, "code");
|
|
234
|
+
i0.ɵɵtext(29);
|
|
235
|
+
i0.ɵɵelementEnd()()();
|
|
236
|
+
} if (rf & 2) {
|
|
237
|
+
i0.ɵɵadvance(29);
|
|
238
|
+
i0.ɵɵtextInterpolate2("", "{{", " parameterName ", "}}", "");
|
|
239
|
+
} }
|
|
240
|
+
export class TemplateParamsGridComponent {
|
|
241
|
+
constructor() {
|
|
242
|
+
this.template = null;
|
|
243
|
+
this.editMode = false;
|
|
244
|
+
this.templateParams = [];
|
|
245
|
+
this.isLoading = false;
|
|
246
|
+
// Grid editing
|
|
247
|
+
this.editedRowIndex = undefined;
|
|
248
|
+
this.editedParam = null;
|
|
249
|
+
// Type options for dropdown
|
|
250
|
+
this.typeOptions = [
|
|
251
|
+
{ text: 'Scalar', value: 'Scalar' },
|
|
252
|
+
{ text: 'Array', value: 'Array' },
|
|
253
|
+
{ text: 'Object', value: 'Object' },
|
|
254
|
+
{ text: 'Record', value: 'Record' },
|
|
255
|
+
{ text: 'Entity', value: 'Entity' }
|
|
256
|
+
];
|
|
257
|
+
}
|
|
258
|
+
ngOnInit() {
|
|
259
|
+
if (this.template?.ID) {
|
|
260
|
+
this.loadTemplateParams();
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
ngOnChanges(changes) {
|
|
264
|
+
if (changes['template'] && this.template?.ID) {
|
|
265
|
+
this.loadTemplateParams();
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
async loadTemplateParams() {
|
|
269
|
+
if (!this.template?.ID)
|
|
270
|
+
return;
|
|
271
|
+
this.isLoading = true;
|
|
272
|
+
try {
|
|
273
|
+
const rv = new RunView();
|
|
274
|
+
const results = await rv.RunView({
|
|
275
|
+
EntityName: 'Template Params',
|
|
276
|
+
ExtraFilter: `TemplateID='${this.template.ID}'`,
|
|
277
|
+
OrderBy: 'Name ASC',
|
|
278
|
+
ResultType: 'entity_object'
|
|
279
|
+
});
|
|
280
|
+
if (results.Success) {
|
|
281
|
+
this.templateParams = results.Results || [];
|
|
282
|
+
}
|
|
283
|
+
else {
|
|
284
|
+
console.error('Failed to load template params:', results.ErrorMessage);
|
|
285
|
+
MJNotificationService.Instance.CreateSimpleNotification('Failed to load template parameters', 'error');
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
catch (error) {
|
|
289
|
+
console.error('Error loading template params:', error);
|
|
290
|
+
MJNotificationService.Instance.CreateSimpleNotification('Error loading template parameters', 'error');
|
|
291
|
+
}
|
|
292
|
+
finally {
|
|
293
|
+
this.isLoading = false;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
// Grid editing handlers
|
|
297
|
+
addHandler(args) {
|
|
298
|
+
if (!this.editMode || !this.template?.ID)
|
|
299
|
+
return;
|
|
300
|
+
// Create new parameter entity
|
|
301
|
+
this.createNewParam().then(newParam => {
|
|
302
|
+
if (newParam) {
|
|
303
|
+
// Close any existing edits
|
|
304
|
+
this.closeEditor();
|
|
305
|
+
// Add to array at the beginning
|
|
306
|
+
this.templateParams = [newParam, ...this.templateParams];
|
|
307
|
+
// Enter edit mode for the new row
|
|
308
|
+
this.editedRowIndex = 0;
|
|
309
|
+
this.editedParam = newParam;
|
|
310
|
+
this.formGroup = this.createFormGroup(newParam);
|
|
311
|
+
// Close the add new row
|
|
312
|
+
this.grid.closeRow(args.rowIndex);
|
|
313
|
+
// Edit the newly added row
|
|
314
|
+
this.grid.editRow(0, this.formGroup);
|
|
315
|
+
}
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
editHandler(args) {
|
|
319
|
+
if (!this.editMode)
|
|
320
|
+
return;
|
|
321
|
+
const { dataItem, rowIndex } = args;
|
|
322
|
+
// Close any existing edits
|
|
323
|
+
this.closeEditor();
|
|
324
|
+
// Set up editing
|
|
325
|
+
this.editedRowIndex = rowIndex;
|
|
326
|
+
this.editedParam = dataItem;
|
|
327
|
+
this.formGroup = this.createFormGroup(dataItem);
|
|
328
|
+
}
|
|
329
|
+
cancelHandler(args) {
|
|
330
|
+
const { rowIndex, dataItem } = args;
|
|
331
|
+
// If this is a new unsaved parameter, remove it
|
|
332
|
+
if (!dataItem.ID && rowIndex !== undefined) {
|
|
333
|
+
this.templateParams.splice(rowIndex, 1);
|
|
334
|
+
this.templateParams = [...this.templateParams];
|
|
335
|
+
}
|
|
336
|
+
this.closeEditor();
|
|
337
|
+
}
|
|
338
|
+
async saveHandler(args) {
|
|
339
|
+
if (!this.formGroup || !this.formGroup.valid)
|
|
340
|
+
return;
|
|
341
|
+
const { dataItem, rowIndex } = args;
|
|
342
|
+
const formValue = this.formGroup.value;
|
|
343
|
+
// Update the entity with form values
|
|
344
|
+
dataItem.Name = formValue.name;
|
|
345
|
+
dataItem.Type = formValue.type;
|
|
346
|
+
dataItem.IsRequired = formValue.isRequired;
|
|
347
|
+
dataItem.Description = formValue.description;
|
|
348
|
+
dataItem.DefaultValue = formValue.defaultValue;
|
|
349
|
+
// Handle linked parameter fields for Entity type
|
|
350
|
+
if (formValue.type === 'Entity') {
|
|
351
|
+
dataItem.LinkedParameterName = formValue.linkedParameterName;
|
|
352
|
+
dataItem.LinkedParameterField = formValue.linkedParameterField;
|
|
353
|
+
}
|
|
354
|
+
else {
|
|
355
|
+
dataItem.LinkedParameterName = null;
|
|
356
|
+
dataItem.LinkedParameterField = null;
|
|
357
|
+
}
|
|
358
|
+
try {
|
|
359
|
+
const saved = await dataItem.Save();
|
|
360
|
+
if (saved) {
|
|
361
|
+
MJNotificationService.Instance.CreateSimpleNotification(`Parameter "${dataItem.Name}" saved successfully`, 'success');
|
|
362
|
+
// Update the array to trigger change detection
|
|
363
|
+
this.templateParams = [...this.templateParams];
|
|
364
|
+
}
|
|
365
|
+
else {
|
|
366
|
+
MJNotificationService.Instance.CreateSimpleNotification(`Failed to save parameter: ${dataItem.LatestResult?.Message || 'Unknown error'}`, 'error');
|
|
367
|
+
// Reload to revert changes
|
|
368
|
+
await this.loadTemplateParams();
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
catch (error) {
|
|
372
|
+
console.error('Error saving parameter:', error);
|
|
373
|
+
MJNotificationService.Instance.CreateSimpleNotification('Error saving parameter', 'error');
|
|
374
|
+
// Reload to revert changes
|
|
375
|
+
await this.loadTemplateParams();
|
|
376
|
+
}
|
|
377
|
+
this.closeEditor();
|
|
378
|
+
}
|
|
379
|
+
async removeHandler(args) {
|
|
380
|
+
if (!this.editMode)
|
|
381
|
+
return;
|
|
382
|
+
const param = args.dataItem;
|
|
383
|
+
if (!confirm(`Are you sure you want to delete the parameter "${param.Name}"?`)) {
|
|
384
|
+
return;
|
|
385
|
+
}
|
|
386
|
+
try {
|
|
387
|
+
if (param.ID) {
|
|
388
|
+
const deleted = await param.Delete();
|
|
389
|
+
if (deleted) {
|
|
390
|
+
MJNotificationService.Instance.CreateSimpleNotification(`Parameter "${param.Name}" deleted successfully`, 'success');
|
|
391
|
+
// Remove from array
|
|
392
|
+
const index = this.templateParams.indexOf(param);
|
|
393
|
+
if (index > -1) {
|
|
394
|
+
this.templateParams.splice(index, 1);
|
|
395
|
+
this.templateParams = [...this.templateParams];
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
else {
|
|
399
|
+
MJNotificationService.Instance.CreateSimpleNotification(`Failed to delete parameter: ${param.LatestResult?.Message || 'Unknown error'}`, 'error');
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
catch (error) {
|
|
404
|
+
console.error('Error deleting parameter:', error);
|
|
405
|
+
MJNotificationService.Instance.CreateSimpleNotification('Error deleting parameter', 'error');
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
createFormGroup(param) {
|
|
409
|
+
return new FormGroup({
|
|
410
|
+
name: new FormControl(param.Name, Validators.required),
|
|
411
|
+
type: new FormControl(param.Type || 'Scalar', Validators.required),
|
|
412
|
+
isRequired: new FormControl(param.IsRequired || false),
|
|
413
|
+
description: new FormControl(param.Description),
|
|
414
|
+
defaultValue: new FormControl(param.DefaultValue),
|
|
415
|
+
linkedParameterName: new FormControl(param.LinkedParameterName),
|
|
416
|
+
linkedParameterField: new FormControl(param.LinkedParameterField)
|
|
417
|
+
});
|
|
418
|
+
}
|
|
419
|
+
closeEditor() {
|
|
420
|
+
if (this.editedRowIndex !== undefined) {
|
|
421
|
+
this.grid.closeRow(this.editedRowIndex);
|
|
422
|
+
}
|
|
423
|
+
this.editedRowIndex = undefined;
|
|
424
|
+
this.editedParam = null;
|
|
425
|
+
this.formGroup = undefined;
|
|
426
|
+
}
|
|
427
|
+
async createNewParam() {
|
|
428
|
+
if (!this.template?.ID)
|
|
429
|
+
return null;
|
|
430
|
+
try {
|
|
431
|
+
const md = new Metadata();
|
|
432
|
+
const newParam = await md.GetEntityObject('Template Params');
|
|
433
|
+
newParam.TemplateID = this.template.ID;
|
|
434
|
+
newParam.Type = 'Scalar';
|
|
435
|
+
newParam.IsRequired = false;
|
|
436
|
+
return newParam;
|
|
437
|
+
}
|
|
438
|
+
catch (error) {
|
|
439
|
+
console.error('Error creating new parameter:', error);
|
|
440
|
+
return null;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
isInEditMode(rowIndex) {
|
|
444
|
+
return this.editedRowIndex === rowIndex;
|
|
445
|
+
}
|
|
446
|
+
// Helper for displaying type with icon
|
|
447
|
+
getTypeIcon(type) {
|
|
448
|
+
switch (type) {
|
|
449
|
+
case 'Scalar': return 'fa-font';
|
|
450
|
+
case 'Array': return 'fa-list';
|
|
451
|
+
case 'Object': return 'fa-cube';
|
|
452
|
+
case 'Record': return 'fa-file';
|
|
453
|
+
case 'Entity': return 'fa-table';
|
|
454
|
+
default: return 'fa-question';
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
// Helper for type descriptions
|
|
458
|
+
getTypeDescription(type) {
|
|
459
|
+
switch (type) {
|
|
460
|
+
case 'Scalar': return 'Single value (text, number, etc.)';
|
|
461
|
+
case 'Array': return 'List of values';
|
|
462
|
+
case 'Object': return 'JSON object';
|
|
463
|
+
case 'Record': return 'Single record from an entity';
|
|
464
|
+
case 'Entity': return 'Multiple records from an entity';
|
|
465
|
+
default: return '';
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
static { this.ɵfac = function TemplateParamsGridComponent_Factory(t) { return new (t || TemplateParamsGridComponent)(); }; }
|
|
469
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TemplateParamsGridComponent, selectors: [["mj-template-params-grid"]], viewQuery: function TemplateParamsGridComponent_Query(rf, ctx) { if (rf & 1) {
|
|
470
|
+
i0.ɵɵviewQuery(GridComponent, 5);
|
|
471
|
+
} if (rf & 2) {
|
|
472
|
+
let _t;
|
|
473
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.grid = _t.first);
|
|
474
|
+
} }, inputs: { template: "template", editMode: "editMode" }, features: [i0.ɵɵNgOnChangesFeature], decls: 27, vars: 14, consts: [[1, "template-params-grid"], [1, "params-header"], [1, "fa-solid", "fa-sliders"], [1, "params-description"], [3, "add", "edit", "cancel", "save", "remove", "data", "loading", "height", "pageable", "sortable", "resizable"], [4, "ngIf"], ["field", "Name", "title", "Parameter Name", 3, "width"], ["kendoGridCellTemplate", ""], ["kendoGridEditTemplate", ""], ["field", "Type", "title", "Type", 3, "width"], ["field", "IsRequired", "title", "Required", 3, "width"], ["field", "Description", "title", "Description", 3, "width"], ["field", "DefaultValue", "title", "Default Value", 3, "width"], ["title", "Actions", 3, "width", 4, "ngIf"], ["kendoGridNoRecordsTemplate", ""], ["class", "params-help", 4, "ngIf"], ["kendoGridAddCommand", "", "type", "button", 1, "k-button", "k-button-md", "k-rounded-md", "k-button-solid", "k-button-solid-primary"], [1, "fa-solid", "fa-plus"], [1, "param-name"], ["class", "required-badge", 4, "ngIf"], [1, "required-badge"], [1, "fa-solid", "fa-asterisk"], ["placeholder", "Enter parameter name...", 3, "formControl"], ["class", "k-invalid-msg", 4, "ngIf"], [1, "k-invalid-msg"], [1, "param-type"], ["textField", "text", "valueField", "value", 3, "formControl", "data", "valuePrimitive"], [1, "text-center"], ["class", "fa-solid fa-check text-success", 4, "ngIf"], ["class", "fa-solid fa-times text-muted", 4, "ngIf"], [1, "fa-solid", "fa-check", "text-success"], [1, "fa-solid", "fa-times", "text-muted"], [3, "formControl"], [1, "param-description"], ["placeholder", "Enter parameter description...", 3, "formControl", "rows"], ["class", "default-value", 4, "ngIf"], ["class", "text-muted", 4, "ngIf"], [1, "default-value"], [1, "text-muted"], ["placeholder", "Enter default value...", 3, "formControl", "rows"], ["title", "Actions", 3, "width"], ["kendoGridEditCommand", "", "type", "button", "class", "k-button k-button-md k-rounded-md k-button-solid k-button-solid-base", "title", "Edit parameter", 4, "ngIf"], ["kendoGridRemoveCommand", "", "type", "button", "class", "k-button k-button-md k-rounded-md k-button-solid k-button-solid-base", "title", "Delete parameter", 4, "ngIf"], ["kendoGridSaveCommand", "", "type", "button", "class", "k-button k-button-md k-rounded-md k-button-solid k-button-solid-primary", "title", "Save changes", 4, "ngIf"], ["kendoGridCancelCommand", "", "type", "button", "class", "k-button k-button-md k-rounded-md k-button-solid k-button-solid-base", "title", "Cancel changes", 4, "ngIf"], ["kendoGridEditCommand", "", "type", "button", "title", "Edit parameter", 1, "k-button", "k-button-md", "k-rounded-md", "k-button-solid", "k-button-solid-base"], [1, "fa-solid", "fa-edit"], ["kendoGridRemoveCommand", "", "type", "button", "title", "Delete parameter", 1, "k-button", "k-button-md", "k-rounded-md", "k-button-solid", "k-button-solid-base"], [1, "fa-solid", "fa-trash"], ["kendoGridSaveCommand", "", "type", "button", "title", "Save changes", 1, "k-button", "k-button-md", "k-rounded-md", "k-button-solid", "k-button-solid-primary"], [1, "fa-solid", "fa-check"], ["kendoGridCancelCommand", "", "type", "button", "title", "Cancel changes", 1, "k-button", "k-button-md", "k-rounded-md", "k-button-solid", "k-button-solid-base"], [1, "fa-solid", "fa-times"], [1, "no-params-message"], [1, "fa-solid", "fa-info-circle"], [1, "params-help"], [1, "fa-solid", "fa-question-circle"], [1, "help-note"], [1, "fa-solid", "fa-lightbulb"]], template: function TemplateParamsGridComponent_Template(rf, ctx) { if (rf & 1) {
|
|
475
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h3");
|
|
476
|
+
i0.ɵɵelement(3, "i", 2);
|
|
477
|
+
i0.ɵɵtext(4, " Template Parameters");
|
|
478
|
+
i0.ɵɵelementEnd();
|
|
479
|
+
i0.ɵɵelementStart(5, "p", 3);
|
|
480
|
+
i0.ɵɵtext(6, " Define the parameters that can be used within this template. Parameters allow dynamic content injection at runtime. ");
|
|
481
|
+
i0.ɵɵelementEnd()();
|
|
482
|
+
i0.ɵɵelementStart(7, "kendo-grid", 4);
|
|
483
|
+
i0.ɵɵlistener("add", function TemplateParamsGridComponent_Template_kendo_grid_add_7_listener($event) { return ctx.addHandler($event); })("edit", function TemplateParamsGridComponent_Template_kendo_grid_edit_7_listener($event) { return ctx.editHandler($event); })("cancel", function TemplateParamsGridComponent_Template_kendo_grid_cancel_7_listener($event) { return ctx.cancelHandler($event); })("save", function TemplateParamsGridComponent_Template_kendo_grid_save_7_listener($event) { return ctx.saveHandler($event); })("remove", function TemplateParamsGridComponent_Template_kendo_grid_remove_7_listener($event) { return ctx.removeHandler($event); });
|
|
484
|
+
i0.ɵɵtemplate(8, TemplateParamsGridComponent_kendo_grid_toolbar_8_Template, 4, 0, "kendo-grid-toolbar", 5);
|
|
485
|
+
i0.ɵɵelementStart(9, "kendo-grid-column", 6);
|
|
486
|
+
i0.ɵɵtemplate(10, TemplateParamsGridComponent_ng_template_10_Template, 4, 2, "ng-template", 7)(11, TemplateParamsGridComponent_ng_template_11_Template, 2, 4, "ng-template", 8);
|
|
487
|
+
i0.ɵɵelementEnd();
|
|
488
|
+
i0.ɵɵelementStart(12, "kendo-grid-column", 9);
|
|
489
|
+
i0.ɵɵtemplate(13, TemplateParamsGridComponent_ng_template_13_Template, 3, 4, "ng-template", 7)(14, TemplateParamsGridComponent_ng_template_14_Template, 1, 5, "ng-template", 8);
|
|
490
|
+
i0.ɵɵelementEnd();
|
|
491
|
+
i0.ɵɵelementStart(15, "kendo-grid-column", 10);
|
|
492
|
+
i0.ɵɵtemplate(16, TemplateParamsGridComponent_ng_template_16_Template, 3, 2, "ng-template", 7)(17, TemplateParamsGridComponent_ng_template_17_Template, 1, 1, "ng-template", 8);
|
|
493
|
+
i0.ɵɵelementEnd();
|
|
494
|
+
i0.ɵɵelementStart(18, "kendo-grid-column", 11);
|
|
495
|
+
i0.ɵɵtemplate(19, TemplateParamsGridComponent_ng_template_19_Template, 2, 1, "ng-template", 7)(20, TemplateParamsGridComponent_ng_template_20_Template, 1, 4, "ng-template", 8);
|
|
496
|
+
i0.ɵɵelementEnd();
|
|
497
|
+
i0.ɵɵelementStart(21, "kendo-grid-column", 12);
|
|
498
|
+
i0.ɵɵtemplate(22, TemplateParamsGridComponent_ng_template_22_Template, 2, 2, "ng-template", 7)(23, TemplateParamsGridComponent_ng_template_23_Template, 1, 4, "ng-template", 8);
|
|
499
|
+
i0.ɵɵelementEnd();
|
|
500
|
+
i0.ɵɵtemplate(24, TemplateParamsGridComponent_kendo_grid_column_24_Template, 2, 1, "kendo-grid-column", 13)(25, TemplateParamsGridComponent_ng_template_25_Template, 5, 1, "ng-template", 14);
|
|
501
|
+
i0.ɵɵelementEnd();
|
|
502
|
+
i0.ɵɵtemplate(26, TemplateParamsGridComponent_div_26_Template, 30, 2, "div", 15);
|
|
503
|
+
i0.ɵɵelementEnd();
|
|
504
|
+
} if (rf & 2) {
|
|
505
|
+
i0.ɵɵadvance(7);
|
|
506
|
+
i0.ɵɵproperty("data", ctx.templateParams)("loading", ctx.isLoading)("height", 400)("pageable", false)("sortable", true)("resizable", true);
|
|
507
|
+
i0.ɵɵadvance();
|
|
508
|
+
i0.ɵɵproperty("ngIf", ctx.editMode);
|
|
509
|
+
i0.ɵɵadvance();
|
|
510
|
+
i0.ɵɵproperty("width", 200);
|
|
511
|
+
i0.ɵɵadvance(3);
|
|
512
|
+
i0.ɵɵproperty("width", 140);
|
|
513
|
+
i0.ɵɵadvance(3);
|
|
514
|
+
i0.ɵɵproperty("width", 100);
|
|
515
|
+
i0.ɵɵadvance(3);
|
|
516
|
+
i0.ɵɵproperty("width", 300);
|
|
517
|
+
i0.ɵɵadvance(3);
|
|
518
|
+
i0.ɵɵproperty("width", 200);
|
|
519
|
+
i0.ɵɵadvance(3);
|
|
520
|
+
i0.ɵɵproperty("ngIf", ctx.editMode);
|
|
521
|
+
i0.ɵɵadvance(2);
|
|
522
|
+
i0.ɵɵproperty("ngIf", ctx.editMode);
|
|
523
|
+
} }, dependencies: [i1.NgIf, i2.NgControlStatus, i2.FormControlDirective, i3.GridComponent, i3.ToolbarComponent, i3.GridToolbarFocusableDirective, i3.ColumnComponent, i3.FocusableDirective, i3.CellTemplateDirective, i3.NoRecordsTemplateDirective, i3.EditTemplateDirective, i3.EditCommandDirective, i3.CancelCommandDirective, i3.SaveCommandDirective, i3.RemoveCommandDirective, i3.AddCommandDirective, i4.TextAreaComponent, i4.TextBoxComponent, i4.SwitchComponent, i5.DropDownListComponent], styles: [".template-params-grid[_ngcontent-%COMP%] {\n padding: 20px;\n}\n\n.params-header[_ngcontent-%COMP%] {\n margin-bottom: 20px;\n}\n\n.params-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] {\n margin: 0 0 8px 0;\n color: #333;\n font-size: 1.2em;\n}\n\n.params-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n margin-right: 8px;\n color: #007bff;\n}\n\n.params-description[_ngcontent-%COMP%] {\n margin: 0;\n color: #666;\n font-size: 0.9em;\n}\n\n.param-name[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.required-badge[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n background-color: #dc3545;\n color: white;\n padding: 2px 8px;\n border-radius: 12px;\n font-size: 0.75em;\n font-weight: 500;\n}\n\n.required-badge[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 0.6em;\n}\n\n.param-type[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 6px;\n color: #495057;\n}\n\n.param-type[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n color: #6c757d;\n}\n\n.param-description[_ngcontent-%COMP%] {\n color: #666;\n font-size: 0.9em;\n line-height: 1.4;\n}\n\n.default-value[_ngcontent-%COMP%] {\n background-color: #f8f9fa;\n padding: 2px 6px;\n border-radius: 3px;\n font-size: 0.85em;\n color: #495057;\n word-break: break-word;\n}\n\n.text-muted[_ngcontent-%COMP%] {\n color: #6c757d;\n font-style: italic;\n font-size: 0.9em;\n}\n\n.text-success[_ngcontent-%COMP%] {\n color: #28a745;\n}\n\n.text-center[_ngcontent-%COMP%] {\n text-align: center;\n}\n\n.no-params-message[_ngcontent-%COMP%] {\n text-align: center;\n padding: 40px 20px;\n color: #6c757d;\n}\n\n.no-params-message[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 2em;\n margin-bottom: 10px;\n color: #adb5bd;\n}\n\n.no-params-message[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 5px 0;\n}\n\n\n\n.params-help[_ngcontent-%COMP%] {\n margin-top: 30px;\n padding: 20px;\n background-color: #f8f9fa;\n border-radius: 8px;\n border: 1px solid #dee2e6;\n}\n\n.params-help[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] {\n margin: 0 0 15px 0;\n color: #333;\n font-size: 1em;\n}\n\n.params-help[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n margin-right: 6px;\n color: #17a2b8;\n}\n\n.params-help[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] {\n margin: 10px 0;\n padding-left: 25px;\n}\n\n.params-help[_ngcontent-%COMP%] li[_ngcontent-%COMP%] {\n margin-bottom: 8px;\n color: #495057;\n font-size: 0.9em;\n}\n\n.params-help[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #333;\n}\n\n.help-note[_ngcontent-%COMP%] {\n margin-top: 15px;\n padding: 10px 15px;\n background-color: #e7f3ff;\n border-left: 4px solid #007bff;\n border-radius: 4px;\n font-size: 0.9em;\n}\n\n.help-note[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n margin-right: 6px;\n color: #007bff;\n}\n\n.help-note[_ngcontent-%COMP%] code[_ngcontent-%COMP%] {\n background-color: #fff;\n padding: 2px 4px;\n border-radius: 3px;\n font-family: 'Courier New', monospace;\n color: #d73a49;\n}\n\n\n\n.k-grid-content[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n margin-right: 4px;\n}\n\n\n\n.k-invalid-msg[_ngcontent-%COMP%] {\n display: block;\n color: #dc3545;\n font-size: 0.85em;\n margin-top: 4px;\n}\n\n\n\n.k-grid[_ngcontent-%COMP%] .k-toolbar[_ngcontent-%COMP%] {\n background-color: #f8f9fa;\n border-bottom: 1px solid #dee2e6;\n padding: 12px;\n}\n\n.k-grid-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n background-color: #f8f9fa;\n font-weight: 600;\n color: #495057;\n}\n\n\n\n@media (max-width: 768px) {\n .template-params-grid[_ngcontent-%COMP%] {\n padding: 10px;\n }\n \n .params-help[_ngcontent-%COMP%] {\n padding: 15px;\n }\n}"] }); }
|
|
524
|
+
}
|
|
525
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TemplateParamsGridComponent, [{
|
|
526
|
+
type: Component,
|
|
527
|
+
args: [{ selector: 'mj-template-params-grid', template: "<div class=\"template-params-grid\">\n <div class=\"params-header\">\n <h3><i class=\"fa-solid fa-sliders\"></i> Template Parameters</h3>\n <p class=\"params-description\">\n Define the parameters that can be used within this template. Parameters allow dynamic content injection at runtime.\n </p>\n </div>\n \n <kendo-grid \n [data]=\"templateParams\"\n [loading]=\"isLoading\"\n [height]=\"400\"\n [pageable]=\"false\"\n [sortable]=\"true\"\n [resizable]=\"true\"\n (add)=\"addHandler($event)\"\n (edit)=\"editHandler($event)\"\n (cancel)=\"cancelHandler($event)\"\n (save)=\"saveHandler($event)\"\n (remove)=\"removeHandler($event)\">\n \n <kendo-grid-toolbar *ngIf=\"editMode\">\n <button kendoGridAddCommand type=\"button\" class=\"k-button k-button-md k-rounded-md k-button-solid k-button-solid-primary\">\n <i class=\"fa-solid fa-plus\"></i> Add Parameter\n </button>\n </kendo-grid-toolbar>\n \n <kendo-grid-column field=\"Name\" title=\"Parameter Name\" [width]=\"200\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <div class=\"param-name\">\n <strong>{{ dataItem.Name }}</strong>\n <span *ngIf=\"dataItem.IsRequired\" class=\"required-badge\">\n <i class=\"fa-solid fa-asterisk\"></i> Required\n </span>\n </div>\n </ng-template>\n <ng-template kendoGridEditTemplate let-dataItem=\"dataItem\" let-formGroup=\"formGroup\">\n <kendo-textbox \n [formControl]=\"formGroup.get('name')\"\n placeholder=\"Enter parameter name...\"\n [style.width.%]=\"100\">\n </kendo-textbox>\n <span class=\"k-invalid-msg\" *ngIf=\"formGroup.get('name')?.touched && formGroup.get('name')?.errors?.['required']\">\n Parameter name is required\n </span>\n </ng-template>\n </kendo-grid-column>\n \n <kendo-grid-column field=\"Type\" title=\"Type\" [width]=\"140\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <div class=\"param-type\">\n <i class=\"fa-solid {{ getTypeIcon(dataItem.Type) }}\"></i>\n {{ dataItem.Type }}\n </div>\n </ng-template>\n <ng-template kendoGridEditTemplate let-dataItem=\"dataItem\" let-formGroup=\"formGroup\">\n <kendo-dropdownlist \n [formControl]=\"formGroup.get('type')\"\n [data]=\"typeOptions\"\n textField=\"text\"\n valueField=\"value\"\n [valuePrimitive]=\"true\"\n [style.width.%]=\"100\">\n </kendo-dropdownlist>\n </ng-template>\n </kendo-grid-column>\n \n <kendo-grid-column field=\"IsRequired\" title=\"Required\" [width]=\"100\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <div class=\"text-center\">\n <i *ngIf=\"dataItem.IsRequired\" class=\"fa-solid fa-check text-success\"></i>\n <i *ngIf=\"!dataItem.IsRequired\" class=\"fa-solid fa-times text-muted\"></i>\n </div>\n </ng-template>\n <ng-template kendoGridEditTemplate let-dataItem=\"dataItem\" let-formGroup=\"formGroup\">\n <kendo-switch [formControl]=\"formGroup.get('isRequired')\"></kendo-switch>\n </ng-template>\n </kendo-grid-column>\n \n <kendo-grid-column field=\"Description\" title=\"Description\" [width]=\"300\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <div class=\"param-description\">\n {{ dataItem.Description || '(No description)' }}\n </div>\n </ng-template>\n <ng-template kendoGridEditTemplate let-dataItem=\"dataItem\" let-formGroup=\"formGroup\">\n <kendo-textarea \n [formControl]=\"formGroup.get('description')\"\n placeholder=\"Enter parameter description...\"\n [rows]=\"2\"\n [style.width.%]=\"100\">\n </kendo-textarea>\n </ng-template>\n </kendo-grid-column>\n \n <kendo-grid-column field=\"DefaultValue\" title=\"Default Value\" [width]=\"200\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <code *ngIf=\"dataItem.DefaultValue\" class=\"default-value\">{{ dataItem.DefaultValue }}</code>\n <span *ngIf=\"!dataItem.DefaultValue\" class=\"text-muted\">(No default)</span>\n </ng-template>\n <ng-template kendoGridEditTemplate let-dataItem=\"dataItem\" let-formGroup=\"formGroup\">\n <kendo-textarea \n [formControl]=\"formGroup.get('defaultValue')\"\n placeholder=\"Enter default value...\"\n [rows]=\"2\"\n [style.width.%]=\"100\">\n </kendo-textarea>\n </ng-template>\n </kendo-grid-column>\n \n <kendo-grid-column *ngIf=\"editMode\" title=\"Actions\" [width]=\"120\">\n <ng-template kendoGridCellTemplate let-dataItem let-rowIndex=\"rowIndex\">\n <button \n *ngIf=\"!isInEditMode(rowIndex)\"\n kendoGridEditCommand \n type=\"button\" \n class=\"k-button k-button-md k-rounded-md k-button-solid k-button-solid-base\"\n title=\"Edit parameter\">\n <i class=\"fa-solid fa-edit\"></i>\n </button>\n <button \n *ngIf=\"!isInEditMode(rowIndex)\"\n kendoGridRemoveCommand \n type=\"button\" \n class=\"k-button k-button-md k-rounded-md k-button-solid k-button-solid-base\"\n title=\"Delete parameter\">\n <i class=\"fa-solid fa-trash\"></i>\n </button>\n <button \n *ngIf=\"isInEditMode(rowIndex)\"\n kendoGridSaveCommand \n type=\"button\" \n class=\"k-button k-button-md k-rounded-md k-button-solid k-button-solid-primary\"\n title=\"Save changes\">\n <i class=\"fa-solid fa-check\"></i>\n </button>\n <button \n *ngIf=\"isInEditMode(rowIndex)\"\n kendoGridCancelCommand \n type=\"button\" \n class=\"k-button k-button-md k-rounded-md k-button-solid k-button-solid-base\"\n title=\"Cancel changes\">\n <i class=\"fa-solid fa-times\"></i>\n </button>\n </ng-template>\n </kendo-grid-column>\n \n <ng-template kendoGridNoRecordsTemplate>\n <div class=\"no-params-message\">\n <i class=\"fa-solid fa-info-circle\"></i>\n <p>No parameters defined for this template.</p>\n <p *ngIf=\"editMode\">Click \"Add Parameter\" to create your first parameter.</p>\n </div>\n </ng-template>\n </kendo-grid>\n \n <!-- Help Section -->\n <div class=\"params-help\" *ngIf=\"editMode\">\n <h4><i class=\"fa-solid fa-question-circle\"></i> Parameter Types</h4>\n <ul>\n <li><strong>Scalar:</strong> Single value like text, number, or boolean</li>\n <li><strong>Array:</strong> List of values</li>\n <li><strong>Object:</strong> JSON object with multiple properties</li>\n <li><strong>Record:</strong> Single record from a MemberJunction entity</li>\n <li><strong>Entity:</strong> Multiple records from a MemberJunction entity (can be filtered)</li>\n </ul>\n <p class=\"help-note\">\n <i class=\"fa-solid fa-lightbulb\"></i> \n Use parameters in your template with the syntax: <code>{{ '{{' }} parameterName {{ '}}' }}</code>\n </p>\n </div>\n</div>", styles: [".template-params-grid {\n padding: 20px;\n}\n\n.params-header {\n margin-bottom: 20px;\n}\n\n.params-header h3 {\n margin: 0 0 8px 0;\n color: #333;\n font-size: 1.2em;\n}\n\n.params-header h3 i {\n margin-right: 8px;\n color: #007bff;\n}\n\n.params-description {\n margin: 0;\n color: #666;\n font-size: 0.9em;\n}\n\n.param-name {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.required-badge {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n background-color: #dc3545;\n color: white;\n padding: 2px 8px;\n border-radius: 12px;\n font-size: 0.75em;\n font-weight: 500;\n}\n\n.required-badge i {\n font-size: 0.6em;\n}\n\n.param-type {\n display: flex;\n align-items: center;\n gap: 6px;\n color: #495057;\n}\n\n.param-type i {\n color: #6c757d;\n}\n\n.param-description {\n color: #666;\n font-size: 0.9em;\n line-height: 1.4;\n}\n\n.default-value {\n background-color: #f8f9fa;\n padding: 2px 6px;\n border-radius: 3px;\n font-size: 0.85em;\n color: #495057;\n word-break: break-word;\n}\n\n.text-muted {\n color: #6c757d;\n font-style: italic;\n font-size: 0.9em;\n}\n\n.text-success {\n color: #28a745;\n}\n\n.text-center {\n text-align: center;\n}\n\n.no-params-message {\n text-align: center;\n padding: 40px 20px;\n color: #6c757d;\n}\n\n.no-params-message i {\n font-size: 2em;\n margin-bottom: 10px;\n color: #adb5bd;\n}\n\n.no-params-message p {\n margin: 5px 0;\n}\n\n/* Help Section */\n.params-help {\n margin-top: 30px;\n padding: 20px;\n background-color: #f8f9fa;\n border-radius: 8px;\n border: 1px solid #dee2e6;\n}\n\n.params-help h4 {\n margin: 0 0 15px 0;\n color: #333;\n font-size: 1em;\n}\n\n.params-help h4 i {\n margin-right: 6px;\n color: #17a2b8;\n}\n\n.params-help ul {\n margin: 10px 0;\n padding-left: 25px;\n}\n\n.params-help li {\n margin-bottom: 8px;\n color: #495057;\n font-size: 0.9em;\n}\n\n.params-help strong {\n color: #333;\n}\n\n.help-note {\n margin-top: 15px;\n padding: 10px 15px;\n background-color: #e7f3ff;\n border-left: 4px solid #007bff;\n border-radius: 4px;\n font-size: 0.9em;\n}\n\n.help-note i {\n margin-right: 6px;\n color: #007bff;\n}\n\n.help-note code {\n background-color: #fff;\n padding: 2px 4px;\n border-radius: 3px;\n font-family: 'Courier New', monospace;\n color: #d73a49;\n}\n\n/* Grid action buttons */\n.k-grid-content button {\n margin-right: 4px;\n}\n\n/* Form validation */\n.k-invalid-msg {\n display: block;\n color: #dc3545;\n font-size: 0.85em;\n margin-top: 4px;\n}\n\n/* Kendo overrides for consistent styling */\n.k-grid .k-toolbar {\n background-color: #f8f9fa;\n border-bottom: 1px solid #dee2e6;\n padding: 12px;\n}\n\n.k-grid-header th {\n background-color: #f8f9fa;\n font-weight: 600;\n color: #495057;\n}\n\n/* Responsive adjustments */\n@media (max-width: 768px) {\n .template-params-grid {\n padding: 10px;\n }\n \n .params-help {\n padding: 15px;\n }\n}"] }]
|
|
528
|
+
}], () => [], { template: [{
|
|
529
|
+
type: Input
|
|
530
|
+
}], editMode: [{
|
|
531
|
+
type: Input
|
|
532
|
+
}], grid: [{
|
|
533
|
+
type: ViewChild,
|
|
534
|
+
args: [GridComponent]
|
|
535
|
+
}] }); })();
|
|
536
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TemplateParamsGridComponent, { className: "TemplateParamsGridComponent", filePath: "src/lib/custom/Templates/template-params-grid.component.ts", lineNumber: 13 }); })();
|
|
537
|
+
//# sourceMappingURL=template-params-grid.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template-params-grid.component.js","sourceRoot":"","sources":["../../../../src/lib/custom/Templates/template-params-grid.component.ts","../../../../src/lib/custom/Templates/template-params-grid.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAoC,SAAS,EAAE,MAAM,eAAe,CAAC;AAE9F,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,aAAa,EAA4D,MAAM,8BAA8B,CAAC;AACvH,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;;;;;;;;ICiBxD,AADJ,0CAAqC,iBACyF;IACtH,wBAAgC;IAAC,+BACrC;IACJ,AADI,iBAAS,EACQ;;;IAMT,gCAAyD;IACrD,wBAAoC;IAAC,0BACzC;IAAA,iBAAO;;;IAHP,AADJ,+BAAwB,aACZ;IAAA,YAAmB;IAAA,iBAAS;IACpC,8FAAyD;IAG7D,iBAAM;;;IAJM,eAAmB;IAAnB,sCAAmB;IACpB,cAAyB;IAAzB,6CAAyB;;;IAWpC,gCAAkH;IAC9G,4CACJ;IAAA,iBAAO;;;IAPP,oCAIgB;IAChB,8FAAkH;;;;IAF9G,iCAAqB;IAFrB,sDAAqC;IAIZ,cAAmF;IAAnF,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