Liferay.Loader.define("@liferay/frontend-data-set-web@1.0.31/utils/actionItems/index",["module","exports","require","../eventsDefinitions","../index","../modals/index","./constants"],(function(e,i,a){window;{Object.defineProperty(i,"__esModule",{value:!0}),i.triggerAction=function(i,a){const{href:s,target:A}=i,{loadData:E,modalId:_,sidePanelId:u}=a;switch(A){case e:window.open(s);break;case d:case f:case L:case c:Liferay.fire(n.OPEN_MODAL,{id:_,onClose:E,size:(0,r.resolveModalSize)(A),url:s});break;case l:Liferay.fire(n.OPEN_SIDE_PANEL,{id:u,onAfterSubmit:E,url:s});break;case o:Liferay.fire(s);break;default:(0,t.liferayNavigate)(s)}};var n=a("../eventsDefinitions"),t=a("../index"),r=a("../modals/index"),s=a("./constants");const{BLANK:e,EVENT:o,MODAL:d,MODAL_FULL_SCREEN:f,MODAL_LARGE:L,MODAL_SMALL:c,SIDE_PANEL:l}=s.ACTION_ITEM_TARGETS}}));
//# sourceMappingURL=index.js.map