import styled from "@emotion/styled";
import { TaskItemTypeValues } from "./TaskIcon.types.js";
let TaskIcon_styles_CategoryColor = /*#__PURE__*/ function(CategoryColor) {
    CategoryColor["Purple"] = "linear-gradient(135deg, var(--color-gradient-agent-start) 4.81%, var(--color-gradient-agent-end) 97.27%)";
    CategoryColor["Green"] = "linear-gradient(135deg, var(--color-gradient-invoked-start) 0%, var(--color-gradient-invoked-end) 100%)";
    CategoryColor["Blue"] = "linear-gradient(135deg, var(--color-gradient-human-start) 2.77%, var(--color-gradient-human-end) 97.93%)";
    CategoryColor["Grey"] = "linear-gradient(135deg, var(--color-gradient-general-start) 0%, var(--color-gradient-general-end) 100%)";
    return CategoryColor;
}({});
const TASK_ICON_GRADIENTS = {
    [TaskItemTypeValues.Agent]: TaskIcon_styles_CategoryColor.Purple,
    [TaskItemTypeValues.Automation]: TaskIcon_styles_CategoryColor.Green,
    [TaskItemTypeValues.ApiAutomation]: TaskIcon_styles_CategoryColor.Green,
    [TaskItemTypeValues.User]: TaskIcon_styles_CategoryColor.Blue,
    [TaskItemTypeValues.AgenticProcess]: TaskIcon_styles_CategoryColor.Grey,
    [TaskItemTypeValues.Connector]: TaskIcon_styles_CategoryColor.Grey,
    [TaskItemTypeValues.ExternalAgent]: TaskIcon_styles_CategoryColor.Purple,
    [TaskItemTypeValues.Timer]: TaskIcon_styles_CategoryColor.Grey,
    [TaskItemTypeValues.CaseManagement]: TaskIcon_styles_CategoryColor.Purple,
    [TaskItemTypeValues.Queues]: TaskIcon_styles_CategoryColor.Grey,
    [TaskItemTypeValues.Tools]: TaskIcon_styles_CategoryColor.Grey,
    [TaskItemTypeValues.MoreElements]: TaskIcon_styles_CategoryColor.Grey,
    [TaskItemTypeValues.CreateNew]: TaskIcon_styles_CategoryColor.Grey
};
const TaskIconContainer = styled.div`
  display: flex;
  align-items: center;
  justify-content: center;
  width: ${({ $size })=>$size}px;
  height: ${({ $size })=>$size}px;
  border-radius: ${({ $borderRadius })=>$borderRadius}px;
  color: var(--canvas-foreground-emp);
  background: ${({ $taskType })=>TASK_ICON_GRADIENTS[$taskType]};
`;
export { TaskIcon_styles_CategoryColor as CategoryColor, TASK_ICON_GRADIENTS, TaskIconContainer };
