Liferay.Loader.define("@liferay/object-web@1.0.181/js/components/ModelBuilder/DefinitionNode/NodeFooter",["module","exports","require","@frontend-taglib-clay$clayui/button","@frontend-taglib-clay$clayui/drop-down","@frontend-taglib-clay$clayui/icon","frontend-js-web","liferay!frontend-js-react-web$react","./NodeFooter.scss"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function NodeFooter({setShowAllFields:e,showAllFields:t}){return o.default.createElement(o.default.Fragment,null,o.default.createElement("div",{className:"lfr-objects__model-builder-node-button-container"},o.default.createElement(n.default,{alignmentPosition:4,trigger:o.default.createElement(l.default,{displayType:"secondary"},o.default.createElement("span",null,(0,r.sub)(Liferay.Language.get("x-or-x"),Liferay.Language.get("add-field"),Liferay.Language.get("relationship"))))},o.default.createElement(n.default.ItemList,null,o.default.createElement(n.default.Item,null,o.default.createElement(d.default,{className:"c-mr-3 text-4",symbol:"custom-field"}),Liferay.Language.get("add-field")),o.default.createElement(n.default.Item,null,o.default.createElement(d.default,{className:"c-mr-3 text-4",symbol:"nodes"}),(0,r.sub)(Liferay.Language.get("add-x"),Liferay.Language.get("relationship")))))),o.default.createElement("div",{className:"lfr-objects__model-builder-node-show-all-fields-container"},o.default.createElement(l.default,{className:"lfr-objects__model-builder-node-show-all-fields-button",displayType:"unstyled",onClick:()=>{e(!t)}},t?(0,r.sub)(Liferay.Language.get("hide-x"),Liferay.Language.get("fields")):(0,r.sub)(Liferay.Language.get("show-all-x"),Liferay.Language.get("fields")),o.default.createElement(d.default,{className:"c-pt-1 text-4",symbol:t?"angle-up-small":"angle-down-small"}))))};var l=_interopRequireDefault(a("@frontend-taglib-clay$clayui/button")),n=_interopRequireDefault(a("@frontend-taglib-clay$clayui/drop-down")),d=_interopRequireDefault(a("@frontend-taglib-clay$clayui/icon")),r=a("frontend-js-web"),o=_interopRequireDefault(a("liferay!frontend-js-react-web$react"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}a("./NodeFooter.scss")}}));
//# sourceMappingURL=NodeFooter.js.map