Liferay.Loader.define("@liferay/object-web@1.0.181/js/components/ModelBuilder/Header/Header",["module","exports","require","@frontend-taglib-clay$clayui/button","@frontend-taglib-clay$clayui/icon","liferay!frontend-js-react-web$react","./Header.scss","frontend-js-web"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _default({folderExternalReferenceCode:e,folderName:t,hasDraftObjectDefinitions:a}){return n.default.createElement("div",{className:"lfr-objects__model-builder-header"},n.default.createElement("div",{className:"lfr-objects__model-builder-header-container"},n.default.createElement("div",{className:"lfr-objects__model-builder-header-folder-info"},n.default.createElement("div",{className:"lfr-objects__model-builder-header-folder-info-name"},n.default.createElement("span",null,t)),n.default.createElement("span",{className:"lfr-objects__model-builder-header-folder-info-erc"},Liferay.Language.get("erc"),":"),n.default.createElement("strong",null,e),n.default.createElement("span",{role:"tooltip",title:Liferay.Language.get("unique-key-for-referencing-the-object-folder")},n.default.createElement(l.default,{symbol:"question-circle"})),"uncategorized"!==e&&n.default.createElement(r.ClayButtonWithIcon,{"aria-label":(0,i.sub)(Liferay.Language.get("edit-x"),Liferay.Language.get("external-reference-code")),displayType:"unstyled",symbol:"pencil"})),n.default.createElement("div",{className:"lfr-objects__model-builder-header-buttons-container"},n.default.createElement(r.ClayButtonWithIcon,{"aria-label":Liferay.Language.get("toggle-sidebars"),displayType:"secondary",symbol:"view",title:Liferay.Language.get("toggle-sidebars")}),n.default.createElement(r.default,{displayType:"secondary"},(0,i.sub)(Liferay.Language.get("x-folder"),Liferay.Language.get("create-new"))),n.default.createElement(r.default,{displayType:"secondary"},Liferay.Language.get("export")),n.default.createElement(r.default,{disabled:!a,displayType:"primary"},Liferay.Language.get("publish")))))};var r=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 a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if(Object.prototype.hasOwnProperty.call(e,l)){var n=r?Object.getOwnPropertyDescriptor(e,l):null;n&&(n.get||n.set)?Object.defineProperty(a,l,n):a[l]=e[l]}a.default=e,t&&t.set(e,a);return a}(a("@frontend-taglib-clay$clayui/button")),l=_interopRequireDefault(a("@frontend-taglib-clay$clayui/icon")),n=_interopRequireDefault(a("liferay!frontend-js-react-web$react"));a("./Header.scss");var i=a("frontend-js-web");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}}}));
//# sourceMappingURL=Header.js.map