import{l as v}from"./chunk-7VHQBARM.js";import{Ea as l,Fc as m,Se as h,Ya as p,Z as s,ca as a,da as c,dc as g,rb as u,va as f}from"./chunk-QXV2GR6R.js";import{i as t}from"./chunk-JJ4RDTEF.js";var F=(()=>{let e=class e{constructor(d,i,o,r){t(this,"el");t(this,"ngModel");t(this,"cd");t(this,"config");t(this,"variant","outlined");t(this,"filled");this.el=d,this.ngModel=i,this.cd=o,this.config=r}ngAfterViewInit(){this.updateFilledState(),this.cd.detectChanges()}ngDoCheck(){this.updateFilledState()}onInput(){this.updateFilledState()}updateFilledState(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length||this.ngModel&&this.ngModel.model}};t(e,"\u0275fac",function(i){return new(i||e)(l(f),l(v,8),l(g),l(h))}),t(e,"\u0275dir",c({type:e,selectors:[["","pInputText",""]],hostAttrs:[1,"p-inputtext","p-component","p-element"],hostVars:4,hostBindings:function(i,o){i&1&&u("input",function(M){return o.onInput(M)}),i&2&&p("p-filled",o.filled)("p-variant-filled",o.variant==="filled"||o.config.inputStyle()==="filled")},inputs:{variant:"variant"}}));let n=e;return n})(),C=(()=>{let e=class e{};t(e,"\u0275fac",function(i){return new(i||e)}),t(e,"\u0275mod",a({type:e})),t(e,"\u0275inj",s({imports:[m]}));let n=e;return n})();export{F as a,C as b};
/**i18n:224bcada6943fe8b17ea60808c2d370cec9507c3bd670ebe71692d099a3befa1*/
//# sourceMappingURL=chunk-AAJM7L4L.js.map
