import{d as A}from"./chunk-UFH3PPO3.js";import{d as y}from"./chunk-HFZMJE75.js";import{t as b}from"./chunk-RFBAGCTV.js";import{y as $,z as P}from"./chunk-RUXJW6JR.js";import{ga as g,i as x,ta as N,ua as O,va as R,wa as S}from"./chunk-SU3V5RM4.js";import{$b as p,Ab as _,Fd as w,Gc as D,Hc as E,Jd as v,Rb as s,Rc as I,ac as d,bc as n,cc as r,dc as u,hc as f,kc as F,lb as o,lc as C,qc as T,rc as M,sa as c,ta as m}from"./chunk-SZVMDCYU.js";var L=(t,a)=>a.name;function k(t,a){if(t&1){let e=f();n(0,"li")(1,"a",5),T("click",function(){let l=c(e).$implicit,h=M();return m(l.action(h.rowItem.userNameEncoded));}),D(2),r()();}if(t&2){let e=a.$implicit;o(),s("disabled",e.disabled),o(),E(e.name);}}var J=(()=>{class t{constructor(){this.menuItems=[],this.rowItem={};}static{this.ɵfac=function(i){return new(i||t)();};}static{this.ɵcmp=_({type:t,selectors:[["app-row-menu"]],inputs:{menuItems:"menuItems",rowItem:"rowItem"},features:[I([w,y,A])],decls:7,vars:1,consts:()=>{let e;return e=""+"\uFFFD#3\uFFFD"+""+"\uFFFD/#3\uFFFD"+"",[e,["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(i,l){i&1&&(n(0,"c-dropdown",1)(1,"button",2),F(2,0),u(3,"i",3),C(),r(),n(4,"ul",4),p(5,k,3,2,"li",null,L),r()()),i&2&&(o(),s("caret",!1),o(4),d(l.menuItems));},dependencies:[g,P,b,x,v,$,R,O,S,N],styles:[".disabled[_ngcontent-%COMP%]{opacity:.5!important;cursor:not-allowed!important}"]});}}return t;})();export{J as a};/**i18n:557364621938d8343d66734722390263df08d9a6046a2573ce83f95c485272f3*/