import{a as l}from"./chunk-EMJ4QQUL.js";import{$c as d,Oc as s,Sc as t,nb as n,pb as o,qa as a,wa as r}from"./chunk-CKLXM6EG.js";var c=(()=>{class i extends l{required=t(void 0,{transform:d});invalid=t(void 0,{transform:d});disabled=t(void 0,{transform:d});name=t();_disabled=a(!1);$disabled=s(()=>this.disabled()||this._disabled());onModelChange=()=>{};onModelTouched=()=>{};writeDisabledState(e){this._disabled.set(e)}writeControlValue(e,u){}writeValue(e){this.writeControlValue(e,this.writeModelValue.bind(this))}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.writeDisabledState(e),this.cd.markForCheck()}static \u0275fac=(()=>{let e;return function(b){return(e||(e=r(i)))(b||i)}})();static \u0275dir=n({type:i,inputs:{required:[1,"required"],invalid:[1,"invalid"],disabled:[1,"disabled"],name:[1,"name"]},features:[o]})}return i})();export{c as a};
