import {J,c as tS,aV as ut,w as wo,bi as et,hp as Ff,bW as JT}from'./main-WUGO6e7n.js';var h$1,l=J(()=>{tS();ut();h$1=(()=>{class o{constructor(t,r){this.control=t,this.modelGroup=r;}ngOnInit(){(this.modelGroup?.control??this.sdAddToForm?.control)?.addControl(this.control.name,this.control.control);}ngOnDestroy(){(this.modelGroup?.control??this.sdAddToForm?.control)?.removeControl(this.control.name);}static{this.\u0275fac=function(r){return new(r||o)(wo(et),wo(Ff,8))};}static{this.\u0275dir=JT({type:o,selectors:[["","sdAddToForm",""]],inputs:{sdAddToForm:"sdAddToForm"}});}}return o})();});export{h$1 as h,l};