import{a as l}from"./chunk-4AEX2WLA.js";import{Fa as a,Ka as n,Tc as s,Yc as i,fd as t,kb as r,nb as o}from"./chunk-GJDGQISV.js";var c=(()=>{class d extends l{required=i(void 0,{transform:t});invalid=i(void 0,{transform:t});disabled=i(void 0,{transform:t});name=i();_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=n(d)))(b||d)}})();static \u0275dir=r({type:d,inputs:{required:[1,"required"],invalid:[1,"invalid"],disabled:[1,"disabled"],name:[1,"name"]},features:[o]})}return d})();export{c as a};
