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