Liferay.Loader.define("portal-workflow-kaleo-designer-web@5.0.115/designer/js/definition-builder/util/utils",["module","exports","require"],(function(e,r,t){window;Object.defineProperty(r,"__esModule",{value:!0}),r.isObject=function isObject(e){if("object"==typeof e&&null!==e&&!Array.isArray(e))return!0;return!1},r.isObjectEmpty=function isObjectEmpty(e){if(!Object.keys(e).length)return!0;return!1},r.removeNewLine=function removeNewLine(e){return e.replace(/\r?\n|\r/g,"")},r.repeatSymbol=function repeatSymbol(e,r){let t="";for(let n=r;n>0;n--)t+=e;return t},r.replaceTabSpaces=function replaceTabSpaces(e){return e.replace(/\t/g," ").trimStart().trimEnd()},r.titleCase=function titleCase(e){return e.toLowerCase().split(" ").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(" ")},r.uncamelize=function uncamelize(e,r){r||(r="_");return e.replace(/([a-z\d])([A-Z])/g,"$1"+r+"$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1"+r+"$2").toLowerCase()}}));
//# sourceMappingURL=utils.js.map