You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{Bb as d,H as s,I as l,K as c,N as a,W as m,da as r,g as o,ha as p,ma as f,na as h,nb as u}from"./chunk-UJIEDWPF.js";var v=(()=>{class i{constructor(t,e){this.http=t,this._document=e,this.iconMap=new Map}getIcon(t){let e=this.iconMap.get(t);return e?new o(n=>{n.next(e),n.complete()}):new o(n=>{this.http.get(`assets/inline-svg/${t}.svg`,{responseType:"text"}).subscribe(I=>{n.next(I),n.complete()},()=>{n.error(`[ng-element-ui]:the icon ${t} does not exist or is not registered.`),n.complete()})})}createSvgElementFromString(t){let e=this._document.createElement("div");e.innerHTML=t;let n=e.querySelector("svg");if(!n)throw new Error("[ng-element-ui]:<svg> tag not found.");return n}static{this.\u0275fac=function(e){return new(e||i)(c(d),c(u,8))}}static{this.\u0275prov=s({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var w=(()=>{class i{constructor(t,e,n){this.elementRef=t,this.renderer=e,this.iconService=n}ngOnChanges(t){let{nelType:e}=t;e&&this.setSvg()}setSvg(){this.nelType&&this.iconService.getIcon(this.nelType).subscribe(t=>{let e=this.iconService.createSvgElementFromString(t);this.renderer.appendChild(this.elementRef.nativeElement,e)})}static{this.\u0275fac=function(e){return new(e||i)(r(m),r(p),r(v))}}static{this.\u0275dir=h({type:i,selectors:[["","nel-icon",""]],hostAttrs:[1,"el-icon"],inputs:{nelType:"nelType"},standalone:!1,features:[a]})}}return i})();var T=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=f({type:i})}static{this.\u0275inj=l({})}}return i})();export{w as a,T as b};