Liferay.Loader.define("portal-workflow-kaleo-designer-web@5.0.85/designer/js/definition-builder/diagram-builder/components/sidebar/utils",["module","exports","require"],(function(e,t,a){window;Object.defineProperty(t,"__esModule",{value:!0}),t.getModalInfo=function(e){if("actions"===e)return{message:Liferay.Language.get("are-you-sure-you-want-to-delete-all-actions-and-their-settings"),title:Liferay.Language.get("delete-actions")};if("assignments"===e)return{message:Liferay.Language.get("are-you-sure-you-want-to-delete-all-assignments-and-their-settings"),title:Liferay.Language.get("delete-assignments")};if("condition"===e)return{message:Liferay.Language.get("are-you-sure-you-want-to-delete-the-selected-condition-node"),title:Liferay.Language.get("delete-condition-node")};if("end"===e)return{message:Liferay.Language.get("are-you-sure-you-want-to-delete-the-selected-end-node"),title:Liferay.Language.get("delete-end-node")};if("fork"===e)return{message:Liferay.Language.get("are-you-sure-you-want-to-delete-the-selected-fork-node"),title:Liferay.Language.get("delete-fork-node")};if("join"===e)return{message:Liferay.Language.get("are-you-sure-you-want-to-delete-the-selected-join-node"),title:Liferay.Language.get("delete-join-node")};if("join-xor"===e)return{message:Liferay.Language.get("are-you-sure-you-want-to-delete-the-selected-join-xor-node"),title:Liferay.Language.get("delete-join-xor-node")};if("notifications"===e)return{message:Liferay.Language.get("are-you-sure-you-want-to-delete-all-notifications-and-their-settings"),title:Liferay.Language.get("delete-notifications")};if("start"===e)return{message:Liferay.Language.get("are-you-sure-you-want-to-delete-the-selected-start-node"),title:Liferay.Language.get("delete-start-node")};if("state"===e)return{message:Liferay.Language.get("are-you-sure-you-want-to-delete-the-selected-state-node"),title:Liferay.Language.get("delete-state-node")};if("task"===e)return{message:Liferay.Language.get("are-you-sure-you-want-to-delete-the-selected-task-node"),title:Liferay.Language.get("delete-task-node")};if("timers"===e)return{message:Liferay.Language.get("are-you-sure-you-want-to-delete-all-timers-and-their-settings"),title:Liferay.Language.get("delete-timers")};if("transition"===e)return{message:Liferay.Language.get("are-you-sure-you-want-to-delete-the-selected-transition"),title:Liferay.Language.get("delete-transition")};return{}},t.isIdDuplicated=function(e,t){let a=!1;return e.map((e=>{e.id===t&&(a=!0)})),a}}));
//# sourceMappingURL=utils.js.map