Liferay.Loader.define("@liferay/object-web@1.0.181/js/components/ModelBuilder/DefinitionNode/DefinitionNode",["module","exports","require","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$react","./DefinitionNode.scss","./NodeFields","./NodeFooter","./NodeHeader"],(function(e,t,i){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.DefinitionNode=function DefinitionNode({data:{creationLanguageId:e,hasDeleteResourcePermission:t,hasManagePermissionsResourcePermission:i,hasObjectDefinitionPublished:s,isLinkedNode:l,nodeSelected:u,objectDefinitionLabel:c,objectFields:f,system:b}}){const[p,j]=(0,n.useState)(!1);return n.default.createElement("div",{className:(0,r.default)("lfr-objects__model-builder-node-container",{"lfr-objects__model-builder-node-container--selected":u})},n.default.createElement(d.default,{hasDeleteResourcePermission:t,hasManagePermissionsResourcePermission:i,hasObjectDefinitionPublished:s,isLinkedNode:l,objectDefinitionLabel:c,system:b}),n.default.createElement(o.default,{defaultLanguageId:e,objectFields:f,showAll:p}),n.default.createElement(a.default,{setShowAllFields:j,showAllFields:p}))};var r=_interopRequireDefault(i("liferay!frontend-js-react-web$classnames")),n=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache();if(t&&t.has(e))return t.get(e);var i={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=r?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(i,n,o):i[n]=e[n]}i.default=e,t&&t.set(e,i);return i}(i("liferay!frontend-js-react-web$react"));i("./DefinitionNode.scss");var o=_interopRequireDefault(i("./NodeFields")),a=_interopRequireDefault(i("./NodeFooter")),d=_interopRequireDefault(i("./NodeHeader"));function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=DefinitionNode.js.map