"use strict";
var __webpack_require__ = {};
(()=>{
    __webpack_require__.d = (exports1, definition)=>{
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
(()=>{
    __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
})();
(()=>{
    __webpack_require__.r = (exports1)=>{
        if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
    caseFlowCategories: ()=>caseFlowCategories,
    caseFlowManifest: ()=>caseFlowManifest,
    caseManagementTriggerManifest: ()=>caseManagementTriggerManifest
});
const caseFlowCategories = [
    {
        id: 'case-management-trigger',
        name: 'Triggers',
        sortOrder: 0,
        color: 'linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%)',
        colorDark: 'linear-gradient(135deg, #E65100 0%, #EF6C00 100%)',
        icon: 'zap',
        tags: [
            'trigger',
            'start',
            'case',
            'event'
        ]
    }
];
const caseManagementTriggerManifest = {
    nodeType: 'uipath.case.trigger',
    version: '1.0.0',
    description: 'Entry point for a case management workflow.',
    category: 'case-management-trigger',
    tags: [
        'trigger',
        'start',
        'case',
        'event',
        'timer'
    ],
    sortOrder: 0,
    display: {
        label: 'Trigger',
        description: 'Starts a case instance and triggers a case entered event',
        icon: 'zap',
        shape: 'circle',
        shadow: false
    },
    handleConfiguration: [
        {
            position: 'right',
            handles: [
                {
                    id: 'output',
                    type: 'source',
                    handleType: 'output',
                    showButton: true,
                    constraints: {
                        minConnections: 1,
                        allowedTargetCategories: [
                            'case-stage'
                        ],
                        forbiddenTargetCategories: [
                            'case-management-trigger',
                            'case-condition'
                        ]
                    }
                }
            ]
        }
    ],
    inputDefinition: {
        serviceType: {
            type: 'string',
            enum: [
                'None',
                'Intsvc.EventTrigger',
                'timer'
            ],
            nullable: true,
            default: 'None'
        },
        timerType: {
            type: 'string',
            nullable: true
        },
        timeCycle: {
            type: 'string'
        },
        context: {
            type: 'array',
            items: {
                type: 'object'
            }
        },
        bindings: {
            type: 'array',
            items: {
                type: 'object'
            }
        }
    },
    toolbarExtensions: {
        design: {
            actions: [
                {
                    id: 'change-trigger-type',
                    icon: 'square-mouse-pointer',
                    label: 'Change trigger type'
                }
            ]
        }
    },
    suppressDefaultToolbarActions: {
        design: [
            'breakpoint'
        ],
        debug: [
            'breakpoint'
        ]
    }
};
const caseFlowManifest = {
    version: '1.0.0',
    categories: caseFlowCategories,
    nodes: [
        caseManagementTriggerManifest
    ]
};
exports.caseFlowCategories = __webpack_exports__.caseFlowCategories;
exports.caseFlowManifest = __webpack_exports__.caseFlowManifest;
exports.caseManagementTriggerManifest = __webpack_exports__.caseManagementTriggerManifest;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "caseFlowCategories",
    "caseFlowManifest",
    "caseManagementTriggerManifest"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
