Liferay.Loader.define("item-selector-taglib@5.3.11/item_selector_preview/js/Header.es",["module","exports","require","@frontend-taglib-clay$clayui/button","@frontend-taglib-clay$clayui/icon","@frontend-taglib-clay$clayui/layout","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react"],(function(e,a,t){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var l=_interopRequireDefault(t("@frontend-taglib-clay$clayui/button")),n=_interopRequireDefault(t("@frontend-taglib-clay$clayui/icon")),r=_interopRequireDefault(t("@frontend-taglib-clay$clayui/layout")),i=(_interopRequireDefault(t("liferay!frontend-js-react-web$prop-types")),_interopRequireDefault(t("liferay!frontend-js-react-web$react")));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var _default=({disabledAddButton:e=!1,handleClickAdd:a,handleClickBack:t,handleClickEdit:d,headerTitle:o,infoButtonRef:u,showEditIcon:c,showInfoIcon:f,showNavbar:s})=>i.default.createElement("div",{className:"navbar navigation-bar navigation-bar-light"},i.default.createElement(r.default.ContainerFluid,{className:"header"},i.default.createElement("nav",{className:"navbar navbar-expand-md navbar-underline navigation-bar navigation-bar-light"},i.default.createElement(r.default.ContainerFluid,null,i.default.createElement("ul",{className:"navbar-nav"},i.default.createElement("li",{className:"nav-item"},i.default.createElement(l.default,{borderless:!0,displayType:"secondary",monospaced:!0,onClick:t},i.default.createElement(n.default,{symbol:"angle-left"}))),i.default.createElement("li",{className:"d-none d-sm-inline-flex nav-item"},i.default.createElement("strong",null,o))))),s&&i.default.createElement("nav",{className:"navbar navbar-expand-md navbar-underline navigation-bar navigation-bar-light"},i.default.createElement(r.default.ContainerFluid,null,i.default.createElement("ul",{className:"navbar-nav"},c&&i.default.createElement("li",{className:"btn-group-item nav-item"},i.default.createElement(l.default,{borderless:!0,displayType:"secondary",monospaced:!0,onClick:d},i.default.createElement(n.default,{symbol:"pencil"}))),f&&i.default.createElement("li",{className:"btn-group-item nav-item"},i.default.createElement(l.default,{borderless:!0,displayType:"secondary",id:"infoButtonRef",monospaced:!0,ref:u},i.default.createElement(n.default,{symbol:"info-panel-open"}))),i.default.createElement("li",{className:"nav-item"},i.default.createElement(l.default,{disabled:e,displayType:"primary",onClick:a},Liferay.Language.get("add"))))))));a.default=_default}}));
//# sourceMappingURL=Header.es.js.map