Liferay.Loader.define("@liferay/object-web@1.0.181/js/components/ViewObjectDefinitions/CardHeader",["module","exports","require","@frontend-taglib-clay$clayui/button","@frontend-taglib-clay$clayui/drop-down","@frontend-taglib-clay$clayui/icon","@liferay/object-js-components-web","liferay!frontend-js-react-web$react","../../utils/constants"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function CardHeader({externalReferenceCode:e,items:t,label:a,modelBuilderURL:d,name:f}){return r.default.createElement("div",{className:"lfr__object-web-view-object-definitions-card-header"},r.default.createElement("div",null,r.default.createElement("div",{className:"d-flex lfr__object-web-view-object-definitions-title-kebab"},r.default.createElement("span",{className:"lfr__object-web-view-object-definitions-title mb-0"},(0,o.getLocalizableLabel)(c.defaultLanguageId,a,f)),r.default.createElement(n.ClayDropDownWithItems,{className:"lfr__object-web-view-object-definitions-actions",items:t,trigger:r.default.createElement(l.default,{"aria-label":Liferay.Language.get("folder-actions"),className:"component-action",displayType:"unstyled",monospaced:!0},r.default.createElement(i.default,{symbol:"ellipsis-v"}))})),r.default.createElement("div",{className:"mt-1"},r.default.createElement("span",{className:"text-secondary"},"".concat(Liferay.Language.get("erc"),":")),r.default.createElement("strong",{className:"ml-2"},e),r.default.createElement("span",{className:"ml-3 text-secondary",title:Liferay.Language.get("unique-key-for-referencing-the-object-folder")},r.default.createElement(i.default,{symbol:"question-circle"})))),r.default.createElement(l.default,{"aria-label":Liferay.Language.get("view-in-model-builder"),className:"lfr__object-web-view-object-definitions-view-in-model-builder-button",displayType:"secondary",onClick:()=>{window.location.href="".concat(d)+"&folderERC=".concat(e)}},Liferay.Language.get("view-in-model-builder")))};var l=_interopRequireDefault(a("@frontend-taglib-clay$clayui/button")),n=a("@frontend-taglib-clay$clayui/drop-down"),i=_interopRequireDefault(a("@frontend-taglib-clay$clayui/icon")),o=a("@liferay/object-js-components-web"),r=_interopRequireDefault(a("liferay!frontend-js-react-web$react")),c=a("../../utils/constants");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=CardHeader.js.map