Liferay.Loader.define("@liferay/object-web@1.0.145/js/utils/layout",["module","exports","require"],(function(e,n,d){window;Object.defineProperty(n,"__esModule",{value:!0}),n.findObjectLayoutRowIndex=function findObjectLayoutRowIndex(e,n){let d=-1;return e.some((({objectLayoutColumns:e},t)=>{const i=e.reduce(((e,n)=>e+n.size),0);return n+i<=12&&(d=t,!0)})),d},n.findObjectFieldIndexById=function findObjectFieldIndexById(e,n){const d=e.map((({id:e})=>e));return d.indexOf(n)},n.findObjectFieldIndexByName=function findObjectFieldIndexByName(e,n){const d=e.map((({name:e})=>e));return d.indexOf(n)}}));
//# sourceMappingURL=layout.js.map