Liferay.Loader.define("@liferay/content-dashboard-web@2.0.85/js/components/SidebarPanelInfoView/VersionActions",["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"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a("@frontend-taglib-clay$clayui/button"),n=_interopRequireDefault(a("@frontend-taglib-clay$clayui/drop-down")),r=_interopRequireDefault(a("@frontend-taglib-clay$clayui/icon")),i=a("frontend-js-web"),o=_interopRequireDefault(a("liferay!frontend-js-react-web$react"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const e={BLANK:e=>{window.open(e,"_blank","noopener")},NAVIGATE:e=>{(0,i.navigate)(e)},SUBMIT_FORM:e=>{window.submitForm(document.hrefFm,e)}};var _default=({actions:t})=>o.default.createElement(n.default,{className:"align-self-start pt-2",closeOnClick:!0,"data-tooltip-align":"left",trigger:o.default.createElement(l.ClayButtonWithIcon,{"aria-label":Liferay.Language.get("actions"),borderless:!0,displayType:"secondary",symbol:"ellipsis-v",title:Liferay.Language.get("actions")})},o.default.createElement(n.default.ItemList,null,t.map((({icon:t,label:a,name:l,type:i,url:u})=>o.default.createElement(n.default.Item,{key:l,onClick:()=>(({type:t,url:a})=>{t in e&&e[t](a)})({type:i,url:u})},o.default.createElement(r.default,{symbol:t||""}),o.default.createElement("span",{className:"pl-3"},a))))));t.default=_default}}));
//# sourceMappingURL=VersionActions.js.map