import{d as P}from"./chunk-4ZPFE5LZ.js";import{d as E}from"./chunk-WRGPHU2N.js";import{l as k}from"./chunk-PHOFQETE.js";import{y as R,z as S}from"./chunk-UMB4XTPE.js";import{Aa as x,D as b,Na as y,Oa as T,Pa as F,Qa as h,k as I,z as g}from"./chunk-CMTPQJ7E.js";import{$b as u,Fc as D,Gc as M,Qb as p,Qc as C,_b as d,ac as i,bc as r,cc as f,gc as w,ib as n,qa as c,qc as v,ra as l,rc as _,yb as s}from"./chunk-AWE6TXVF.js";var $=(e,m)=>m.name;function B(e,m){if(e&1){let t=w();i(0,"li")(1,"a",4),v("click",function(){let a=c(t).$implicit,V=_();return l(a.action(V.rowItem.userNameEncoded))}),D(2),r()()}if(e&2){let t=m.$implicit;n(),p("disabled",t.disabled),n(),M(t.name)}}var L=(()=>{class e{constructor(){this.menuItems=[],this.rowItem={}}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=s({type:e,selectors:[["app-row-menu"]],inputs:{menuItems:"menuItems",rowItem:"rowItem"},features:[C([g,E,P])],decls:6,vars:1,consts:[["alignment","end","variant","btn-group"],["cButton","","cDropdownToggle","","color","primary","aria-label","Open dropdown",2,"border-radius","20px",3,"caret"],[1,"fa","fa-ellipsis-v","fa-1x"],["cDropdownMenu",""],["cDropdownItem","",2,"cursor","pointer",3,"click","disabled"]],template:function(o,a){o&1&&(i(0,"c-dropdown",0)(1,"button",1),f(2,"i",2),r(),i(3,"ul",3),d(4,B,3,2,"li",null,$),r()()),o&2&&(n(),p("caret",!1),n(3),u(a.menuItems))},dependencies:[x,S,k,I,b,R,F,T,h,y],styles:[".disabled[_ngcontent-%COMP%]{opacity:.5!important;cursor:not-allowed!important}"]})}}return e})();export{L as a};
